3
0
Fork 0
forked from mirrors/nixpkgs

GCC 4.5: Fix `gcc45.hostDrv' for GNU.

This fixes a regression introduced in r30410 ("Do not apply
Hurd-specific fixes for simple cross-Linux. Unfortunately, still no luck
with my ARM device").

svn path=/nixpkgs/trunk/; revision=30412
This commit is contained in:
Ludovic Courtès 2011-11-13 14:39:15 +00:00
parent eb3c58cd64
commit fa97f54001

View file

@ -147,6 +147,8 @@ stdenv.mkDerivation ({
postPatch =
if (stdenv.system == "i586-pc-gnu"
|| (libcCross != null # e.g., building `gcc.hostDrv'
&& libcCross.crossConfig == "i586-pc-gnu")
|| (cross != null && cross.config == "i586-pc-gnu"
&& libcCross != null))
then