poco: fix sh4a fenv build failure
authorBaruch Siach <baruch@tkos.co.il>
Mon, 25 Nov 2013 16:47:28 +0000 (18:47 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 26 Nov 2013 11:40:53 +0000 (12:40 +0100)
Disable FP environment on sh4a. Fixes
http://autobuild.buildroot.net/results/8dc9bca5969d455cc30206fc1ae6e1d3ba6eb6ca/.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/poco/poco.mk

index a18f209c1f44c0004f04477470d13403c5de0e4f..3516c04455b3bf8e5a74158b14694bf8cf3e7ca4 100644 (file)
@@ -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 \