[PATCH] inet: Remove unused STATIC_NSS define

fanquake fanquake@gmail.com
Wed Jun 10 15:24:50 GMT 2026


From: Michael Ford <fanquake@gmail.com>

The --enable-static-nss configuration adds -DSTATIC_NSS to CFLAGS for
the inet subdirectory, but no source file has referenced the STATIC_NSS
macro for quite some time. So remove the dead define.

Signed-off-by: Michael Ford <fanquake@gmail.com>
---
 inet/Makefile | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/inet/Makefile b/inet/Makefile
index 613f61d29..e8dfac1b8 100644
--- a/inet/Makefile
+++ b/inet/Makefile
@@ -134,10 +134,6 @@ endif
 $(inst_sysconfdir)/rpc: etc.rpc $(+force)
 	$(do-install)
 
-ifeq ($(build-static-nss),yes)
-CFLAGS += -DSTATIC_NSS
-endif
-
 ifeq ($(have-test-clang),yes)
 CFLAGS-tst-deadline.c += -Wno-ignored-attributes
 endif
-- 
2.43.0



More information about the Libc-alpha mailing list