public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED] [PATCH] Remove unused -DRESOLVER getaddrinfo build flag
@ 2023-09-29  9:31 Arjun Shankar
  0 siblings, 0 replies; only message in thread
From: Arjun Shankar @ 2023-09-29  9:31 UTC (permalink / raw)
  To: libc-alpha, Arjun Shankar

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 --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)
-- 
2.41.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-29  9:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-29  9:31 [COMMITTED] [PATCH] Remove unused -DRESOLVER getaddrinfo build flag Arjun Shankar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).