diff mbox series

[COMMITTED] Remove unused -DRESOLVER getaddrinfo build flag

Message ID 20230929093245.221339-1-arjun@redhat.com
State New
Headers show
Series [COMMITTED] Remove unused -DRESOLVER getaddrinfo build flag | expand

Commit Message

Arjun Shankar Sept. 29, 2023, 9:31 a.m. UTC
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.
---
I've committed this as obvious.
---
 posix/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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)