From mboxrd@z Thu Jan 1 00:00:00 1970 From: yegorslists at googlemail.com Date: Tue, 9 Oct 2018 15:21:52 +0200 Subject: [Buildroot] [PATCH v2] poco: disable fpenvironment for MIPS without FPU Message-ID: <20181009132152.24383-1-yegorslists@googlemail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net From: Yegor Yefremov 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 --- 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