about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-07-22 05:35:27 +0000
committerRoland McGrath <roland@gnu.org>2005-07-22 05:35:27 +0000
commit3bfd2d42c064bbee516ca3d4b116c80e280dc0b4 (patch)
tree9010ea3880422875e546bd947a9d0d83ab20ae30
parent4fd8fd7ee8f1c3983c9ef09b06864581af0506e7 (diff)
downloadglibc-3bfd2d42c064bbee516ca3d4b116c80e280dc0b4.tar.gz
glibc-3bfd2d42c064bbee516ca3d4b116c80e280dc0b4.tar.xz
glibc-3bfd2d42c064bbee516ca3d4b116c80e280dc0b4.zip
* nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o).
-rw-r--r--ChangeLog2
-rw-r--r--nscd/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b2fcd4af12..d32f4fa5a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-07-21  Roland McGrath  <roland@redhat.com>
 
+	* nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o).
+
 	* stdlib/Makefile (headers): Move bits/wchar.h to ...
 	* wcsmbs/Makefile (headers): ... here.  Add bits/wchar2.h too.
 
diff --git a/nscd/Makefile b/nscd/Makefile
index 5a2d29a0a5..b7d5f3400b 100644
--- a/nscd/Makefile
+++ b/nscd/Makefile
@@ -122,7 +122,7 @@ relro-LDFLAGS += -Wl,-z,now
 endif
 
 $(objpfx)nscd: $(addprefix $(objpfx),$(nscd-modules:=.o))
-	$(LINK.o) -pie -Wl,-O1 \
+	$(LINK.o) -pie -Wl,-O1 $(nscd-cflags) \
 	  $(sysdep-LDFLAGS) $(config-LDFLAGS) $(relro-LDFLAGS) \
 	  $(extra-B-$(@F:lib%.so=%).so) -B$(csu-objpfx) \
 	  $(extra-B-$(@F:lib%.so=%).so) $(load-map-file) \