glibc 2.11: Try again to fix link errors for `nscd'.

svn path=/nixpkgs/branches/stdenv-updates/; revision=18518
This commit is contained in:
Ludovic Courtès 2009-11-22 00:57:20 +00:00
parent 60a661259b
commit 544032ea33

View file

@ -6,7 +6,7 @@ Make sure `nscd' et al. are linked against `libssp'.
ifeq (yesyes,$(have-fpie)$(build-shared))
relro-LDFLAGS += -Wl,-z,now
+$(objpfx)nscd: LDFLAGS += -fstack-protector
+$(objpfx)nscd: LDFLAGS += -lssp
$(objpfx)nscd: $(addprefix $(objpfx),$(nscd-modules:=.o))
$(+link-pie)
endif