about summary refs log tree commit diff
path: root/string/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-11 10:40:44 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-04-17 16:12:10 -0300
commit66a42a70993d07a449aa3238b6ee5ef94d5bb978 (patch)
tree00d6c5acb4577027429c2db87c7eab05baf46333 /string/Makefile
parent5bcc666d76138514e280dcad63f505177abe94a1 (diff)
downloadglibc-66a42a70993d07a449aa3238b6ee5ef94d5bb978.tar.gz
glibc-66a42a70993d07a449aa3238b6ee5ef94d5bb978.tar.xz
glibc-66a42a70993d07a449aa3238b6ee5ef94d5bb978.zip
configure: Use -Wno-ignored-attributes if compiler warns about multiple aliases
clang emits an warning when a double alias redirection is used, to warn
the the original symbol will be used even when weak definition is
overridden.  Howerver, this is a common pattern for weak_alias, where
multiple alias are set to same symbol.
Diffstat (limited to 'string/Makefile')
-rw-r--r--string/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/string/Makefile b/string/Makefile
index 8f31fa49e6..cbdcff3706 100644
--- a/string/Makefile
+++ b/string/Makefile
@@ -280,6 +280,7 @@ CFLAGS-memchr.c += $(config-cflags-wno-ignored-attributes)
 CFLAGS-mempcpy.c += $(config-cflags-wno-ignored-attributes)
 CFLAGS-stpcpy.c += $(config-cflags-wno-ignored-attributes)
 CFLAGS-strnlen.c += $(config-cflags-wno-ignored-attributes)
+CFLAGS-ffsll.c += $(config-cflags-wno-ignored-attributes)
 
 ifeq ($(run-built-tests),yes)
 $(objpfx)tst-svc-cmp.out: tst-svc.expect $(objpfx)tst-svc.out