Skip to content

Commit

Permalink
gcc7: More resync from gcc6
Browse files Browse the repository at this point in the history
I think I managed to lose these during a merge conflict.
  • Loading branch information
dezgeg committed Jan 28, 2018
1 parent 99fc949 commit 11e98ea
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkgs/development/compilers/gcc/7/default.nix
Expand Up @@ -395,9 +395,8 @@ stdenv.mkDerivation ({

targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;

buildFlags = if bootstrap then
(if profiledCompiler then "profiledbootstrap" else "bootstrap")
else "";
buildFlags =
optional bootstrap (if profiledCompiler then "profiledbootstrap" else "bootstrap");

installTargets =
if stripped
Expand Down Expand Up @@ -510,7 +509,7 @@ stdenv.mkDerivation ({
}

# Strip kills static libs of other archs (hence targetPlatform != hostPlatform)
// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; NIX_STRIP_DEBUG = 0; }
// optionalAttrs (!stripped || targetPlatform != hostPlatform) { dontStrip = true; }

// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
)

0 comments on commit 11e98ea

Please sign in to comment.