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-07 13:30:30 -04:00
parent 2dda26c9d4
commit d68a9d9db9
8 changed files with 8 additions and 22 deletions
@@ -208,9 +208,7 @@ stdenv.mkDerivation ({
''
else null;
# TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
inherit noSysDirs staticCompiler langJava
inherit noSysDirs staticCompiler langJava crossStageStatic
libcCross crossMingw;
depsBuildBuild = [ buildPackages.stdenv.cc ];