]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Replace -Wno-error with -fno-builtin-lround
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 19 Dec 2014 16:32:05 +0000 (08:32 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 19 Dec 2014 16:32:05 +0000 (08:32 -0800)
ChangeLog
sysdeps/x86_64/x32/Makefile

index 7d6d2dea2eaf721db0328f0e8e77f44628f4c6b7..e7392a8ac184ad26bdabca3faff4a1cbe5a7394d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
+       -Wno-error with -fno-builtin-lround.
+
 2014-12-19  Torvald Riegel  <triegel@redhat.com>
 
        * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
index 47e567cfea80bd0431d18d11ff35912ac204bbcc..f2ebc24fb07cf96bc7094491c29f01603acffeec 100644 (file)
@@ -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