mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
gcc: disable LTO on i686
as a workaround to fix build after updating stdenv bootstrap (in the followup commit). Interested parties can improve this later.
This commit is contained in:
parent
ea8ae88f04
commit
22284b07ef
@ -8107,6 +8107,8 @@ in
|
||||
# PGO seems to speed up compilation by gcc by ~10%, see #445 discussion
|
||||
profiledCompiler = with stdenv; (!isDarwin && (isi686 || isx86_64));
|
||||
|
||||
enableLTO = !stdenv.isi686;
|
||||
|
||||
libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null;
|
||||
threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user