mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
glibc 2.11: Link against `libssp'.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18507
This commit is contained in:
parent
c9ecbf7894
commit
e5e6e853de
1 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,10 @@ stdenv.mkDerivation rec {
|
|||
configureFlags = [
|
||||
"--enable-add-ons"
|
||||
"--with-headers=${kernelHeaders}/include"
|
||||
|
||||
/* Make sure `nscd' et al. are linked against `libssp'. */
|
||||
"LDFLAGS=-fstack-protector"
|
||||
|
||||
(if profilingLibraries then "--enable-profile" else "--disable-profile")
|
||||
] ++ stdenv.lib.optionals (cross != null) [
|
||||
"--host=${cross.config}"
|
||||
|
|
Loading…
Reference in a new issue