All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] poco: disable fpenvironment for MIPS without FPU
@ 2018-10-09 13:21 yegorslists at googlemail.com
  2018-10-09 20:13 ` Arnout Vandecappelle
  0 siblings, 1 reply; 9+ messages in thread
From: yegorslists at googlemail.com @ 2018-10-09 13:21 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

glibc fixed a bug, that defined FPU capabilities not
available for MIPS without FPU. So add --no-fpenvironment
to the configuration options for this case.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
Changes v1 -> v2:
   - put all conditions in one ifeq statement (Thomas Petazzoni)
	
 package/poco/poco.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/poco/poco.mk b/package/poco/poco.mk
index 018344d5c7..af41d36ff7 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
 
+# MIPS without FPU
+ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el):$(BR2_MIPS_SOFT_FLOAT),y:y)
+POCO_CONF_OPTS += --no-fpenvironment
+endif
+
 ifeq ($(BR2_STATIC_LIBS),y)
 POCO_MAKE_TARGET = static_release
 else ifeq ($(BR2_SHARED_LIBS),y)
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-10-10  8:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-09 13:21 [Buildroot] [PATCH v2] poco: disable fpenvironment for MIPS without FPU yegorslists at googlemail.com
2018-10-09 20:13 ` Arnout Vandecappelle
2018-10-10  6:45   ` Thomas Petazzoni
2018-10-10  7:02     ` Yegor Yefremov
2018-10-10  7:05       ` Yegor Yefremov
2018-10-10  7:12       ` Thomas Petazzoni
2018-10-10  7:14         ` Yegor Yefremov
2018-10-10  7:45           ` Arnout Vandecappelle
2018-10-10  8:23             ` Yegor Yefremov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.