git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit22284b07ef1ca082d14cde8205567b3af4fd27df authorVladimír Čunát <v@cunat.cz> dateWed 5 Feb 2020, 13:02 (7 years ago) parentea8ae88
1 file changed+2
pkgs/top-level/all-packages.nix+2
pkgs/top-level/all-packages.nix+2
@@ -8107,6 +8107,8 @@ in
81078107 # PGO seems to speed up compilation by gcc by ~10%, see #445 discussion
81088108 profiledCompiler = with stdenv; (!isDarwin && (isi686 || isx86_64));
81098109
8110+ enableLTO = !stdenv.isi686;
8111+
81108112 libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then libcCross else null;
81118113 threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else null;
81128114