glibc 2.11: Try again to fix link errors for `nscd'.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18518
This commit is contained in:
parent
60a661259b
commit
544032ea33
@ -6,7 +6,7 @@ Make sure `nscd' et al. are linked against `libssp'.
|
|||||||
ifeq (yesyes,$(have-fpie)$(build-shared))
|
ifeq (yesyes,$(have-fpie)$(build-shared))
|
||||||
relro-LDFLAGS += -Wl,-z,now
|
relro-LDFLAGS += -Wl,-z,now
|
||||||
|
|
||||||
+$(objpfx)nscd: LDFLAGS += -fstack-protector
|
+$(objpfx)nscd: LDFLAGS += -lssp
|
||||||
$(objpfx)nscd: $(addprefix $(objpfx),$(nscd-modules:=.o))
|
$(objpfx)nscd: $(addprefix $(objpfx),$(nscd-modules:=.o))
|
||||||
$(+link-pie)
|
$(+link-pie)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user