gcc-*: Clean up crossStageStatic logic

54282b9610 tread carefuly to avoid a mass
rebuild. This embraces the mass rebuild to clean things up.
This commit is contained in:
John Ericson
2018-09-23 17:30:32 +00:00
committed by Jan Malakhovski
parent b2c7a5a271
commit b14db1b0ba
8 changed files with 8 additions and 22 deletions
+1 -3
View File
@@ -189,9 +189,7 @@ stdenv.mkDerivation ({
)
else "");
# TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
inherit noSysDirs staticCompiler
inherit noSysDirs staticCompiler crossStageStatic
libcCross crossMingw;
depsBuildBuild = [ buildPackages.stdenv.cc ];