summaryrefslogtreecommitdiff
path: root/nscd/Makefile
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-31 13:33:18 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-31 13:33:18 +0000
commit32c075e1f01849e161724bbd400ba77244e482cc (patch)
tree5f083a3f352104f32bb6c902d57fa3f294bd8d4d /nscd/Makefile
parentd6220e9ee38c1c9285221b023346201ec5f511b3 (diff)
downloadglibc-32c075e1f01849e161724bbd400ba77244e482cc.tar.gz
.
Diffstat (limited to 'nscd/Makefile')
-rw-r--r--nscd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/nscd/Makefile b/nscd/Makefile
index 21657abeb7..9c98018217 100644
--- a/nscd/Makefile
+++ b/nscd/Makefile
@@ -119,7 +119,9 @@ CFLAGS-initgrcache.c += $(nscd-cflags)
CFLAGS-gai.c += $(nscd-cflags)
ifeq (yesyes,$(have-fpie)$(build-shared))
+ifeq (yes,$(have-z-relro))
relro-LDFLAGS += -Wl,-z,now
+endif
$(objpfx)nscd: $(addprefix $(objpfx),$(nscd-modules:=.o))
$(LINK.o) -pie -Wl,-O1 $(nscd-cflags) \