gcc47: Making the arm patch only for arm.

I don't know how, but it seems to break mips (noticed by ludo):
http://hydra.nixos.org/build/4530024
This commit is contained in:
Lluís Batlle i Rossell 2013-03-29 21:56:01 +01:00
parent a76a9f783e
commit c7307122bf

View file

@ -54,7 +54,8 @@ let version = "4.7.2";
# Whether building a cross-compiler for GNU/Hurd.
crossGNU = cross != null && cross.config == "i586-pc-gnu";
patches = [ ./arm-eabi.patch ]
patches = []
++ optional stdenv.isArm [ ./arm-eabi.patch ]
++ optional (cross != null) ./libstdc++-target.patch
# ++ optional noSysDirs ./no-sys-dirs.patch
# The GNAT Makefiles did not pay attention to CFLAGS_FOR_TARGET for its