summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2018-10-10 10:22:14 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-10-10 10:47:44 +0200
commitc735f39881cf49bc58ad1b8375fd630e8284ad21 (patch)
tree6063bcc77bd52709d16e0da3d7328e5f0103eb7d
parentabbf2f4e5dd64afedffa019e16c818d68879ba13 (diff)
downloadbuildroot-c735f39881cf49bc58ad1b8375fd630e8284ad21.tar.gz
buildroot-c735f39881cf49bc58ad1b8375fd630e8284ad21.zip
poco: disable fpenvironment for soft floating point configuration
Many platforms don't provide all FPU features needed by Poco when configured for soft floating point in their fenv.h header. So disable fpenvironment for this configuration to avoid build breakage. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/poco/poco.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/poco/poco.mk b/package/poco/poco.mk
index 018344d5c7..aa96d5127b 100644
--- a/package/poco/poco.mk
+++ b/package/poco/poco.mk
@@ -42,6 +42,11 @@ ifeq ($(BR2_sh4a)$(BR2_nios2),y)
POCO_CONF_OPTS += --no-fpenvironment
endif
+# disable fpenvironment for soft floating point configuration
+ifeq ($(BR2_SOFT_FLOAT),y)
+POCO_CONF_OPTS += --no-fpenvironment
+endif
+
ifeq ($(BR2_STATIC_LIBS),y)
POCO_MAKE_TARGET = static_release
else ifeq ($(BR2_SHARED_LIBS),y)
OpenPOWER on IntegriCloud