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:
@@ -102,7 +102,8 @@ stdenv.mkDerivation ({
|
|||||||
"-C"
|
"-C"
|
||||||
"--enable-add-ons"
|
"--enable-add-ons"
|
||||||
"--sysconfdir=/etc"
|
"--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
|
(if kernelHeaders != null
|
||||||
then "--with-headers=${kernelHeaders}/include"
|
then "--with-headers=${kernelHeaders}/include"
|
||||||
else "--without-headers")
|
else "--without-headers")
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ stdenv.mkDerivation ({
|
|||||||
"--enable-add-ons"
|
"--enable-add-ons"
|
||||||
"--sysconfdir=/etc"
|
"--sysconfdir=/etc"
|
||||||
"--localedir=/var/run/current-system/sw/lib/locale"
|
"--localedir=/var/run/current-system/sw/lib/locale"
|
||||||
|
"libc_cv_ssp=no"
|
||||||
(if kernelHeaders != null
|
(if kernelHeaders != null
|
||||||
then "--with-headers=${kernelHeaders}/include"
|
then "--with-headers=${kernelHeaders}/include"
|
||||||
else "--without-headers")
|
else "--without-headers")
|
||||||
|
|||||||
Reference in New Issue
Block a user