[Buildroot] [PATCH] poco: fix sh4a fenv build failure

Baruch Siach baruch at tkos.co.il
Mon Nov 25 16:47:28 UTC 2013


Disable FP environment on sh4a. Fixes
http://autobuild.buildroot.net/results/8dc9bca5969d455cc30206fc1ae6e1d3ba6eb6ca/.

Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 package/poco/poco.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/poco/poco.mk b/package/poco/poco.mk
index a18f209..3516c04 100644
--- a/package/poco/poco.mk
+++ b/package/poco/poco.mk
@@ -34,6 +34,11 @@ ifeq ($(LIBC),uclibc)
 POCO_CONF_OPT += --no-fpenvironment --no-wstring
 endif
 
+# sh4a is missing FE_DOWNWARD and FE_UPWARD in its fenv.h
+ifeq ($(BR2_sh4a),y)
+POCO_CONF_OPT += --no-fpenvironment
+endif
+
 define POCO_CONFIGURE_CMDS
 	(cd $(@D); ./configure \
 		--config=Linux-CrossEnv	\
-- 
1.8.4.3



More information about the buildroot mailing list