diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-11 10:40:44 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-11-01 09:51:06 -0300 |
commit | 8d98c7c00f3f06545de9e5ce5cf778d2ab2450a4 (patch) | |
tree | 9fe2d950df8424164112464dfbb5ec906b279757 /inet/Makefile | |
parent | 5c5a8b99cf96b71940e36a9db66d3a61bc315016 (diff) | |
download | glibc-8d98c7c00f3f06545de9e5ce5cf778d2ab2450a4.zip glibc-8d98c7c00f3f06545de9e5ce5cf778d2ab2450a4.tar.gz glibc-8d98c7c00f3f06545de9e5ce5cf778d2ab2450a4.tar.bz2 |
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. However, this is a common pattern for weak_alias, where
multiple alias are set to same symbol.
Reviewed-by: Fangrui Song <maskray@google.com>
Diffstat (limited to 'inet/Makefile')
-rw-r--r-- | inet/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inet/Makefile b/inet/Makefile index 9b96e57..a5ef1ec 100644 --- a/inet/Makefile +++ b/inet/Makefile @@ -106,6 +106,9 @@ CFLAGS-either_ntoh.c += -fexceptions CFLAGS-either_hton.c += -fexceptions CFLAGS-getnetgrent.c += -fexceptions CFLAGS-getnetgrent_r.c += -fexceptions +CFLAGS-in6_addr.c += $(config-cflags-wno-ignored-attributes) +CFLAGS-if_index.c += $(config-cflags-wno-ignored-attributes) +CFLAGS-ifaddrs.c += $(config-cflags-wno-ignored-attributes) CFLAGS-tst-checks-posix.c += -std=c99 CFLAGS-tst-sockaddr.c += -fno-strict-aliasing |