GCC 4.5: Fix cross-compilation to MinGW.
svn path=/nixpkgs/trunk/; revision=30522
This commit is contained in:
parent
67653f93fa
commit
ea96ea5d2f
@ -148,6 +148,7 @@ stdenv.mkDerivation ({
|
|||||||
postPatch =
|
postPatch =
|
||||||
if (stdenv.system == "i586-pc-gnu"
|
if (stdenv.system == "i586-pc-gnu"
|
||||||
|| (libcCross != null # e.g., building `gcc.hostDrv'
|
|| (libcCross != null # e.g., building `gcc.hostDrv'
|
||||||
|
&& libcCross ? crossConfig
|
||||||
&& libcCross.crossConfig == "i586-pc-gnu")
|
&& libcCross.crossConfig == "i586-pc-gnu")
|
||||||
|| (cross != null && cross.config == "i586-pc-gnu"
|
|| (cross != null && cross.config == "i586-pc-gnu"
|
||||||
&& libcCross != null))
|
&& libcCross != null))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user