@@ -26,7 +26,7 @@
2626, enablePlugin ? true # whether to support user-supplied plug-ins
2727, name ? "gcc"
2828, libcCross ? null
29−, crossStageStatic ? true
29+, crossStageStatic ? false
3030, gnat ? null
3131, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
3232, stripped ? true
@@ -284,7 +284,9 @@ stdenv.mkDerivation ({
284284 ''
285285 else null;
286286
287− inherit noSysDirs staticCompiler langJava crossStageStatic
287+ # TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
288+ crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
289+ inherit noSysDirs staticCompiler langJava
288290 libcCross crossMingw;
289291
290292 nativeBuildInputs = [ texinfo which gettext ]