]> sourceware.org Git - glibc.git/commitdiff
Remove unused -DRESOLVER getaddrinfo build flag
authorArjun Shankar <arjun@redhat.com>
Fri, 29 Sep 2023 09:13:19 +0000 (11:13 +0200)
committerArjun Shankar <arjun@redhat.com>
Fri, 29 Sep 2023 09:21:04 +0000 (11:21 +0200)
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

index 905cf9fb543ab3037becbab4e88f1b3dd405fc19..c36b9d981ecb64b7d3662d49e9dcd344eb725240 100644 (file)
@@ -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)
This page took 0.044574 seconds and 5 git commands to generate.