From afd176d6cfaa2a61e5866e896dd50b64eae7f47c Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 19 Dec 2014 08:32:05 -0800 Subject: [PATCH] Replace -Wno-error with -fno-builtin-lround --- ChangeLog | 5 +++++ sysdeps/x86_64/x32/Makefile | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7d6d2dea2e..e7392a8ac1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-12-19 H.J. Lu + + * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace + -Wno-error with -fno-builtin-lround. + 2014-12-19 Torvald Riegel * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file. diff --git a/sysdeps/x86_64/x32/Makefile b/sysdeps/x86_64/x32/Makefile index 47e567cfea..f2ebc24fb0 100644 --- a/sysdeps/x86_64/x32/Makefile +++ b/sysdeps/x86_64/x32/Makefile @@ -1,6 +1,6 @@ ifeq ($(subdir),math) # Since x32 returns 32-bit long int and 64-bit long long int in the # same 64-bit register, we make the 32b-bit lround an alias of the -# 64-bit llround. Add -Wno-error to silence the compiler. -CFLAGS-s_llround.c += -Wno-error +# 64-bit llround. Add -fno-builtin-lround to silence the compiler. +CFLAGS-s_llround.c += -fno-builtin-lround endif -- 2.11.4.GIT