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:
parent
a76a9f783e
commit
c7307122bf
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue