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:
parent
99fc949330
commit
11e98eaae7
|
@ -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; }
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue