forked from mirrors/nixpkgs
Fixing the nscd patch again. The other attempts did not give a working nscd.
The build system was making a nscd dynamically linked with libssp, which we don't want in general. We want a glibc not depending on the gcc that built it. svn path=/nixpkgs/branches/stdenv-updates/; revision=24313
This commit is contained in:
parent
d5f6182edc
commit
955fe6f69d
|
@ -9,7 +9,7 @@ index 93874e5..63f7144 100644
|
|||
ifeq (yesyes,$(have-fpie)$(build-shared))
|
||||
nscd-cflags += $(pie-ccflag)
|
||||
+ifeq (yes,$(have-ssp))
|
||||
+LDFLAGS-nscd += -lssp_nonshared -lssp
|
||||
+link-extra-libs += -Wl,-Bstatic -lssp -Wl,-Bdynamic
|
||||
+endif
|
||||
endif
|
||||
ifeq (yes,$(have-ssp))
|
||||
|
|
Loading…
Reference in a new issue