mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
Merge remote-tracking branch 'aszlig/glibc_ssp_fix'
glibc 2.13 and 2.14 fail to build with our current stdenv unless the ssp is disabled. For glibc 2.13, I've only disabled the ssp when it's being built with a complete stdenv to avoid a stdenv rebuild
This commit is contained in:
commit
9400646dcd
@ -102,7 +102,8 @@ stdenv.mkDerivation ({
|
||||
"-C"
|
||||
"--enable-add-ons"
|
||||
"--sysconfdir=/etc"
|
||||
"--localedir=/var/run/current-system/sw/lib/locale"
|
||||
"--localedir=/var/run/current-system/sw/lib/locale" ] ++
|
||||
(stdenv.lib.optional (stdenv.name == "stdenv") "libc_cv_ssp=no") ++ [
|
||||
(if kernelHeaders != null
|
||||
then "--with-headers=${kernelHeaders}/include"
|
||||
else "--without-headers")
|
||||
|
@ -97,6 +97,7 @@ stdenv.mkDerivation ({
|
||||
"--enable-add-ons"
|
||||
"--sysconfdir=/etc"
|
||||
"--localedir=/var/run/current-system/sw/lib/locale"
|
||||
"libc_cv_ssp=no"
|
||||
(if kernelHeaders != null
|
||||
then "--with-headers=${kernelHeaders}/include"
|
||||
else "--without-headers")
|
||||
|
Loading…
Reference in New Issue
Block a user