2b580b9846
- I still have not understood why it worked without this fix before, and I think this has been triggered by the gcc-4.4, but I have not investigated this much. I went with the trivial fix. Adding a glibc-2.10.1 expression, because the glibc-2.11 still does not have a ports release, so it cannot be used in arm. I'm using it only in native compilation by now. Making the default glibc to be 2.10 instead of 2.11 in armv5tel-linux. svn path=/nixpkgs/branches/stdenv-updates/; revision=18688
13 lines
429 B
Diff
13 lines
429 B
Diff
Make sure `nscd' et al. are linked against `libssp'.
|
|
|
|
--- glibc-2.11/nscd/Makefile 2009-10-30 18:17:08.000000000 +0100
|
|
+++ glibc-2.11/nscd/Makefile 2009-11-22 01:19:37.000000000 +0100
|
|
@@ -126,6 +126,7 @@ CFLAGS-res_hconf.c += $(nscd-cflags)
|
|
ifeq (yesyes,$(have-fpie)$(build-shared))
|
|
relro-LDFLAGS += -Wl,-z,now
|
|
|
|
+$(objpfx)nscd: LDFLAGS += -lssp
|
|
$(objpfx)nscd: $(addprefix $(objpfx),$(nscd-modules:=.o))
|
|
$(+link-pie)
|
|
endif
|