diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-10-19 21:24:50 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-10-19 21:24:50 +0000 |
commit | d10a3ab27329c49a0feb86a10affb1f69054e4ab (patch) | |
tree | f94bde09b200a68b15f5c7d60f7efa74288b3bb4 /resolv/Makefile | |
parent | f63f2bfdfaad591305863a79c4fd2c3f50015f26 (diff) | |
download | glibc-d10a3ab27329c49a0feb86a10affb1f69054e4ab.tar.gz glibc-d10a3ab27329c49a0feb86a10affb1f69054e4ab.tar.xz glibc-d10a3ab27329c49a0feb86a10affb1f69054e4ab.zip |
Do not use -Wno-strict-prototypes.
Two glibc makefiles use -Wno-strict-prototypes. I don't know if this was needed before my recent conversion of many function definitions to prototype style, but it's not needed now; this patch removes it. Tested for x86_64 and x86 (testsuite, and that installed stripped shared libraries are unchanged by the patch). * posix/Makefile (CFLAGS-regex.c): Remove variable. * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
Diffstat (limited to 'resolv/Makefile')
-rw-r--r-- | resolv/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/Makefile b/resolv/Makefile index add74875c6..683d010141 100644 --- a/resolv/Makefile +++ b/resolv/Makefile @@ -94,7 +94,7 @@ CFLAGS-libresolv += $(stack-protector) CFLAGS-res_hconf.c = -fexceptions # The BIND code elicits some harmless warnings. -+cflags += -Wno-strict-prototypes -Wno-write-strings ++cflags += -Wno-write-strings # The DNS NSS modules needs the resolver. $(objpfx)libnss_dns.so: $(objpfx)libresolv.so |