GCC 4.8 compiles on Illumos.
- Disable profiled bootstrap. - Add illumos meta platform.
This commit is contained in:
parent
546601cf4b
commit
fdb534f06e
|
@ -8,8 +8,9 @@ rec {
|
||||||
openbsd = ["i686-openbsd" "x86_64-openbsd"];
|
openbsd = ["i686-openbsd" "x86_64-openbsd"];
|
||||||
netbsd = ["i686-netbsd" "x86_64-netbsd"];
|
netbsd = ["i686-netbsd" "x86_64-netbsd"];
|
||||||
cygwin = ["i686-cygwin" "x86_64-cygwin"];
|
cygwin = ["i686-cygwin" "x86_64-cygwin"];
|
||||||
unix = linux ++ darwin ++ freebsd ++ openbsd;
|
illumos = ["x86_64-solaris"];
|
||||||
all = linux ++ darwin ++ cygwin ++ freebsd ++ openbsd;
|
unix = linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos;
|
||||||
|
all = linux ++ darwin ++ cygwin ++ freebsd ++ openbsd ++ netbsd ++ illumos;
|
||||||
none = [];
|
none = [];
|
||||||
allBut = platforms: lists.filter (x: !(builtins.elem x platforms)) all;
|
allBut = platforms: lists.filter (x: !(builtins.elem x platforms)) all;
|
||||||
mesaPlatforms = ["i686-linux" "x86_64-linux" "x86_64-darwin" "armv5tel-linux" "armv6l-linux"];
|
mesaPlatforms = ["i686-linux" "x86_64-linux" "x86_64-darwin" "armv5tel-linux" "armv6l-linux"];
|
||||||
|
|
|
@ -519,6 +519,7 @@ stdenv.mkDerivation ({
|
||||||
platforms =
|
platforms =
|
||||||
stdenv.lib.platforms.linux ++
|
stdenv.lib.platforms.linux ++
|
||||||
stdenv.lib.platforms.freebsd ++
|
stdenv.lib.platforms.freebsd ++
|
||||||
|
stdenv.lib.platforms.illumos ++
|
||||||
optionals (langAda == false) stdenv.lib.platforms.darwin;
|
optionals (langAda == false) stdenv.lib.platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3890,7 +3890,7 @@ let
|
||||||
inherit noSysDirs;
|
inherit noSysDirs;
|
||||||
|
|
||||||
# PGO seems to speed up compilation by gcc by ~10%, see #445 discussion
|
# PGO seems to speed up compilation by gcc by ~10%, see #445 discussion
|
||||||
profiledCompiler = with stdenv; (!isDarwin && (isi686 || isx86_64));
|
profiledCompiler = with stdenv; (!isSunOS && !isDarwin && (isi686 || isx86_64));
|
||||||
|
|
||||||
# When building `gcc.crossDrv' (a "Canadian cross", with host == target
|
# When building `gcc.crossDrv' (a "Canadian cross", with host == target
|
||||||
# and host != build), `cross' must be null but the cross-libc must still
|
# and host != build), `cross' must be null but the cross-libc must still
|
||||||
|
|
Loading…
Reference in New Issue