3
0
Fork 0
forked from mirrors/nixpkgs

gcc7: More resync from gcc6

I think I managed to lose these during a merge conflict.
This commit is contained in:
Tuomas Tynkkynen 2018-01-27 01:11:05 +02:00
parent 99fc949330
commit 11e98eaae7

View file

@ -395,9 +395,8 @@ stdenv.mkDerivation ({
targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null; targetConfig = if targetPlatform != hostPlatform then targetPlatform.config else null;
buildFlags = if bootstrap then buildFlags =
(if profiledCompiler then "profiledbootstrap" else "bootstrap") optional bootstrap (if profiledCompiler then "profiledbootstrap" else "bootstrap");
else "";
installTargets = installTargets =
if stripped if stripped
@ -510,7 +509,7 @@ stdenv.mkDerivation ({
} }
# Strip kills static libs of other archs (hence targetPlatform != hostPlatform) # 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; } // optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
) )