mirror of
https://sourceware.org/git/glibc.git
synced 2025-10-31 22:10:34 +03:00
math: Suppress clang -Wincompatible-library-redeclaration on s_llround
Clang issues:
../sysdeps/ieee754/dbl-64/s_llround.c:83:30: error: incompatible
redeclaration of library function 'lround'
[-Werror,-Wincompatible-library-redeclaration]
libm_alias_double (__lround, lround)
^
../sysdeps/ieee754/dbl-64/s_llround.c:83:30: note: 'lround' is a builtin
with type 'long (double)'
Reviewed-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -2,6 +2,9 @@ ifeq ($(subdir),math)
|
||||
# branred depends on precise IEEE double rounding
|
||||
CFLAGS-branred.c += $(config-cflags-nofma)
|
||||
CFLAGS-e_sqrt.c += $(config-cflags-nofma)
|
||||
|
||||
# The symbols alias to lround
|
||||
CFLAGS-s_llround.c += -fno-builtin-lround
|
||||
endif
|
||||
|
||||
ifeq ($(subdir),stdio-common)
|
||||
|
||||
Reference in New Issue
Block a user