mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 12:07:47 +03:00
gcc: don't use profiling on darwin
Darwin seems to have problems on Hydra, maybe because of this.
This commit is contained in:
parent
3996256c26
commit
e855ac5070
@ -2480,7 +2480,7 @@ let
|
||||
inherit noSysDirs;
|
||||
|
||||
# PGO seems to speed up compilation by gcc by ~10%, see #445 discussion
|
||||
profiledCompiler = with stdenv; (isi686 || isx86_64);
|
||||
profiledCompiler = with stdenv; (!isDarwin && (isi686 || isx86_64));
|
||||
|
||||
# When building `gcc.crossDrv' (a "Canadian cross", with host == target
|
||||
# and host != build), `cross' must be null but the cross-libc must still
|
||||
|
Loading…
Reference in New Issue
Block a user