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

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=99b4327a553d42c5f999f780a57204894da1d494

commit 99b4327a553d42c5f999f780a57204894da1d494
Author: Arjun Shankar <arjun@redhat.com>
Date:   Fri Sep 29 11:13:19 2023 +0200

    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.

Diff:
---
 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)

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

only message in thread, other threads:[~2023-09-29  9:30 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:30 [glibc] 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).