diff mbox

[uclibc-ng-devel] uClibc-ng - small C library for embedded systems branch master updated. v1.0.18-8-g24ca498

Message ID 20161009193437.C308B100FF@helium.openadk.org
State Not Applicable
Headers show

Commit Message

wbx Oct. 9, 2016, 7:34 p.m. UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".

The branch, master has been updated
       via  24ca498fc322936281b0c69c271dd64979c313eb (commit)
      from  7136bb422a0681d787d07dc2936f08395b8a1007 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 24ca498fc322936281b0c69c271dd64979c313eb
Author: Waldemar Brodkorb <wbx@uclibc-ng.org>
Date:   Sun Oct 9 20:15:00 2016 +0200

    fix mips/mips64 build for old compilers
    
    gcc 4.8 does not support nan flag.
    
    Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

-----------------------------------------------------------------------

Summary of changes:
 Rules.mak | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



hooks/post-receive
diff mbox

Patch

diff --git a/Rules.mak b/Rules.mak
index 67189ff..b9dbf25 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -404,8 +404,8 @@  ifeq ($(TARGET_ARCH),mips)
 	CPU_CFLAGS-$(CONFIG_MIPS_N64_ABI)+=-mabi=64
 	CPU_CFLAGS-$(CONFIG_MIPS_O32_ABI)+=-mabi=32
 	CPU_CFLAGS-$(CONFIG_MIPS_N32_ABI)+=-mabi=n32
-	CPU_CFLAGS-$(CONFIG_MIPS_NAN_LEGACY)+=-mnan=legacy
-	CPU_CFLAGS-$(CONFIG_MIPS_NAN_2008)+=-mnan=2008
+	CPU_CFLAGS-$(CONFIG_MIPS_NAN_LEGACY)+=$(call check_gcc,-mnan=legacy)
+	CPU_CFLAGS-$(CONFIG_MIPS_NAN_2008)+=$(call check_gcc,-mnan=2008)
 	CPU_LDFLAGS-y += $(CPU_CFLAGS)
 endif