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 =
|
||||
if (stdenv.system == "i586-pc-gnu"
|
||||
|| (libcCross != null # e.g., building `gcc.hostDrv'
|
||||
&& libcCross ? crossConfig
|
||||
&& libcCross.crossConfig == "i586-pc-gnu")
|
||||
|| (cross != null && cross.config == "i586-pc-gnu"
|
||||
&& libcCross != null))
|
||||
|
|
Loading…
Reference in New Issue