glibc 2.11: Link against `libssp'.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18507
This commit is contained in:
parent
c9ecbf7894
commit
e5e6e853de
|
@ -58,6 +58,10 @@ stdenv.mkDerivation rec {
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-add-ons"
|
"--enable-add-ons"
|
||||||
"--with-headers=${kernelHeaders}/include"
|
"--with-headers=${kernelHeaders}/include"
|
||||||
|
|
||||||
|
/* Make sure `nscd' et al. are linked against `libssp'. */
|
||||||
|
"LDFLAGS=-fstack-protector"
|
||||||
|
|
||||||
(if profilingLibraries then "--enable-profile" else "--disable-profile")
|
(if profilingLibraries then "--enable-profile" else "--disable-profile")
|
||||||
] ++ stdenv.lib.optionals (cross != null) [
|
] ++ stdenv.lib.optionals (cross != null) [
|
||||||
"--host=${cross.config}"
|
"--host=${cross.config}"
|
||||||
|
|
Loading…
Reference in a new issue