3
0
Fork 0
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:
Lluís Batlle i Rossell 2010-10-15 22:58:12 +00:00
parent d5f6182edc
commit 955fe6f69d

View file

@ -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))