diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-08-24 12:41:39 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-04-17 16:12:10 -0300 |
commit | 5bcc666d76138514e280dcad63f505177abe94a1 (patch) | |
tree | 22d54925a092f662959fbc3e49d4676245bbfcaf | |
parent | 9cdf90ef2c139b5f9935a09c6d0af0fe3f9a939a (diff) | |
download | glibc-5bcc666d76138514e280dcad63f505177abe94a1.tar.gz glibc-5bcc666d76138514e280dcad63f505177abe94a1.tar.xz glibc-5bcc666d76138514e280dcad63f505177abe94a1.zip |
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)'
-rw-r--r-- | sysdeps/ieee754/dbl-64/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/ieee754/dbl-64/Makefile b/sysdeps/ieee754/dbl-64/Makefile index 78530b5966..9f1226326c 100644 --- a/sysdeps/ieee754/dbl-64/Makefile +++ b/sysdeps/ieee754/dbl-64/Makefile @@ -2,4 +2,7 @@ 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 |