mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
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
@ -54,7 +54,8 @@ let version = "4.7.2";
|
|||||||
# Whether building a cross-compiler for GNU/Hurd.
|
# Whether building a cross-compiler for GNU/Hurd.
|
||||||
crossGNU = cross != null && cross.config == "i586-pc-gnu";
|
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 (cross != null) ./libstdc++-target.patch
|
||||||
# ++ optional noSysDirs ./no-sys-dirs.patch
|
# ++ optional noSysDirs ./no-sys-dirs.patch
|
||||||
# The GNAT Makefiles did not pay attention to CFLAGS_FOR_TARGET for its
|
# The GNAT Makefiles did not pay attention to CFLAGS_FOR_TARGET for its
|
||||||
|
Loading…
Reference in New Issue
Block a user