From 99b4327a553d42c5f999f780a57204894da1d494 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Fri, 29 Sep 2023 11:13:19 +0200 Subject: 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. --- posix/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit 1.4.1