Merge commit '3a9654bfe29ebd987b7426faa25f00af1fab02c5' into HEAD
This commit is contained in:
commit
de169a5950
@ -151,12 +151,7 @@ stdenv.mkDerivation ({
|
|||||||
;
|
;
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
if (stdenv.system == "i586-pc-gnu"
|
if targetPlatform.isHurd
|
||||||
|| (libcCross != null # e.g., building `gcc.crossDrv'
|
|
||||||
&& libcCross ? crossConfig
|
|
||||||
&& libcCross.crossConfig == "i586-pc-gnu")
|
|
||||||
|| (targetPlatform != hostPlatform && targetPlatform.config == "i586-pc-gnu"
|
|
||||||
&& libcCross != null))
|
|
||||||
then
|
then
|
||||||
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
|
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
|
||||||
# in glibc, so add the right `-I' flags to the default spec string.
|
# in glibc, so add the right `-I' flags to the default spec string.
|
||||||
|
@ -193,11 +193,7 @@ stdenv.mkDerivation ({
|
|||||||
libc_dev = stdenv.cc.libc_dev;
|
libc_dev = stdenv.cc.libc_dev;
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
if (hostPlatform.isHurd
|
if targetPlatform.isHurd
|
||||||
|| (libcCross != null # e.g., building `gcc.crossDrv'
|
|
||||||
&& libcCross ? crossConfig
|
|
||||||
&& libcCross.crossConfig == "i586-pc-gnu")
|
|
||||||
|| (crossGNU && libcCross != null))
|
|
||||||
then
|
then
|
||||||
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
|
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
|
||||||
# in glibc, so add the right `-I' flags to the default spec string.
|
# in glibc, so add the right `-I' flags to the default spec string.
|
||||||
|
@ -188,11 +188,7 @@ stdenv.mkDerivation ({
|
|||||||
libc_dev = stdenv.cc.libc_dev;
|
libc_dev = stdenv.cc.libc_dev;
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
if (hostPlatform.isHurd
|
if targetPlatform.isHurd
|
||||||
|| (libcCross != null # e.g., building `gcc.crossDrv'
|
|
||||||
&& libcCross ? crossConfig
|
|
||||||
&& libcCross.crossConfig == "i586-pc-gnu")
|
|
||||||
|| (crossGNU && libcCross != null))
|
|
||||||
then
|
then
|
||||||
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
|
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
|
||||||
# in glibc, so add the right `-I' flags to the default spec string.
|
# in glibc, so add the right `-I' flags to the default spec string.
|
||||||
|
@ -204,11 +204,7 @@ stdenv.mkDerivation ({
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
if (hostPlatform.isHurd
|
if targetPlatform.isHurd
|
||||||
|| (libcCross != null # e.g., building `gcc.crossDrv'
|
|
||||||
&& libcCross ? crossConfig
|
|
||||||
&& libcCross.crossConfig == "i586-pc-gnu")
|
|
||||||
|| (crossGNU && libcCross != null))
|
|
||||||
then
|
then
|
||||||
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
|
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
|
||||||
# in glibc, so add the right `-I' flags to the default spec string.
|
# in glibc, so add the right `-I' flags to the default spec string.
|
||||||
|
@ -204,11 +204,7 @@ stdenv.mkDerivation ({
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
if (hostPlatform.isHurd
|
if targetPlatform.isHurd
|
||||||
|| (libcCross != null # e.g., building `gcc.crossDrv'
|
|
||||||
&& libcCross ? crossConfig
|
|
||||||
&& libcCross.crossConfig == "i586-pc-gnu")
|
|
||||||
|| (crossGNU && libcCross != null))
|
|
||||||
then
|
then
|
||||||
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
|
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
|
||||||
# in glibc, so add the right `-I' flags to the default spec string.
|
# in glibc, so add the right `-I' flags to the default spec string.
|
||||||
|
@ -204,11 +204,7 @@ stdenv.mkDerivation ({
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
if (hostPlatform.isHurd
|
if targetPlatform.isHurd
|
||||||
|| (libcCross != null # e.g., building `gcc.crossDrv'
|
|
||||||
&& libcCross ? crossConfig
|
|
||||||
&& libcCross.crossConfig == "i586-pc-gnu")
|
|
||||||
|| (crossGNU && libcCross != null))
|
|
||||||
then
|
then
|
||||||
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
|
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
|
||||||
# in glibc, so add the right `-I' flags to the default spec string.
|
# in glibc, so add the right `-I' flags to the default spec string.
|
||||||
|
@ -183,11 +183,7 @@ stdenv.mkDerivation ({
|
|||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
if (hostPlatform.isHurd
|
if targetPlatform.isHurd
|
||||||
|| (libcCross != null # e.g., building `gcc.crossDrv'
|
|
||||||
&& libcCross ? crossConfig
|
|
||||||
&& libcCross.crossConfig == "i586-pc-gnu")
|
|
||||||
|| (crossGNU && libcCross != null))
|
|
||||||
then
|
then
|
||||||
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
|
# On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
|
||||||
# in glibc, so add the right `-I' flags to the default spec string.
|
# in glibc, so add the right `-I' flags to the default spec string.
|
||||||
|
Loading…
Reference in New Issue
Block a user