poco: fix nios2 fenv build failure
authorBaruch Siach <baruch@tkos.co.il>
Sat, 25 Jan 2014 19:49:11 +0000 (21:49 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 26 Jan 2014 22:16:55 +0000 (23:16 +0100)
Disable FP environment on nios2.

Fixes:
http://autobuild.buildroot.net/results/3ce/3ce9d6dc5c4e8fceebaa461e5085da7f33fda8a1/

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

index 9ee2d61b11788dfb4e47a4b7f5e231636672ebbf..251fcc12aba5b423a114843afedbb3ab9b9475e9 100644 (file)
@@ -34,8 +34,8 @@ 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)
+# architectures missing some FE_* in their fenv.h
+ifeq ($(BR2_sh4a)$(BR2_nios2),y)
 POCO_CONF_OPT += --no-fpenvironment
 endif