aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjun Shankar <arjun@redhat.com>2023-09-29 11:13:19 +0200
committerArjun Shankar <arjun@redhat.com>2023-09-29 11:21:04 +0200
commit99b4327a553d42c5f999f780a57204894da1d494 (patch)
tree187013a5b0e5be1766df305a4118794ae45e59a3
parentcdbf8229bb1438998b211e4760a97d94a13674d4 (diff)
downloadglibc-99b4327a553d42c5f999f780a57204894da1d494.tar
glibc-99b4327a553d42c5f999f780a57204894da1d494.tar.gz
glibc-99b4327a553d42c5f999f780a57204894da1d494.tar.bz2
glibc-99b4327a553d42c5f999f780a57204894da1d494.zip
Remove unused -DRESOLVER getaddrinfo build flag
getaddrinfo doesn't look for any RESOLVER defines for conditional compilation. Therefore, remove the unnecessary -DRESOLVER build flag in getaddrinfo's CFLAGS. Checked on x86_64 for code generation changes; none found.
-rw-r--r--posix/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/Makefile b/posix/Makefile
index 905cf9fb54..c36b9d981e 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -555,7 +555,7 @@ $(objpfx)config-name.h: $(..)scripts/config-uname.sh $(common-objpfx)config.make
'$(config-machine)-$(config-vendor)' > $@.new
mv -f $@.new $@
-CFLAGS-getaddrinfo.c += -DRESOLVER -fexceptions
+CFLAGS-getaddrinfo.c += -fexceptions
CFLAGS-pause.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-pread.c += -fexceptions -fasynchronous-unwind-tables
CFLAGS-pread64.c += -fexceptions -fasynchronous-unwind-tables $(config-cflags-wno-ignored-attributes)