1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-26 00:57:39 +03:00

Replace -Wno-error with -fno-builtin-lround

This commit is contained in:
H.J. Lu
2014-12-19 08:32:05 -08:00
parent a4a43a907c
commit afd176d6cf
2 changed files with 7 additions and 2 deletions

View 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