about summary refs log tree commit diff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2014-12-19 08:32:05 -0800
committerH.J. Lu <hjl.tools@gmail.com>2014-12-19 08:32:05 -0800
commitafd176d6cfaa2a61e5866e896dd50b64eae7f47c (patch)
treee7380137166a0b1e0c2315b7bb3bac3f1ba0f2a6 /sysdeps/x86_64
parenta4a43a907c1e7b610715848f5a69e937a9f22903 (diff)
downloadglibc-afd176d6cfaa2a61e5866e896dd50b64eae7f47c.tar.gz
glibc-afd176d6cfaa2a61e5866e896dd50b64eae7f47c.tar.xz
glibc-afd176d6cfaa2a61e5866e896dd50b64eae7f47c.zip
Replace -Wno-error with -fno-builtin-lround
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/x32/Makefile4
1 files changed, 2 insertions, 2 deletions
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