gcc: Change default of crossStageStatic param to false
This gets us one step closer to removing `gccCrossStageFinal`. Care is taken to avoid a mass rebuild; will clean up with one later.
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
, enableMultilib ? false
|
, enableMultilib ? false
|
||||||
, name ? "gcc"
|
, name ? "gcc"
|
||||||
, libcCross ? null
|
, libcCross ? null
|
||||||
, crossStageStatic ? true
|
, crossStageStatic ? false
|
||||||
, gnat ? null
|
, gnat ? null
|
||||||
, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
|
, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
|
||||||
, stripped ? true
|
, stripped ? true
|
||||||
@@ -213,7 +213,9 @@ stdenv.mkDerivation ({
|
|||||||
''
|
''
|
||||||
else null;
|
else null;
|
||||||
|
|
||||||
inherit noSysDirs profiledCompiler staticCompiler langJava crossStageStatic
|
# TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
|
||||||
|
crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
|
||||||
|
inherit noSysDirs profiledCompiler staticCompiler langJava
|
||||||
libcCross crossMingw;
|
libcCross crossMingw;
|
||||||
|
|
||||||
nativeBuildInputs = [ texinfo which gettext ]
|
nativeBuildInputs = [ texinfo which gettext ]
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
, enablePlugin ? true # whether to support user-supplied plug-ins
|
, enablePlugin ? true # whether to support user-supplied plug-ins
|
||||||
, name ? "gcc"
|
, name ? "gcc"
|
||||||
, libcCross ? null
|
, libcCross ? null
|
||||||
, crossStageStatic ? true
|
, crossStageStatic ? false
|
||||||
, gnat ? null
|
, gnat ? null
|
||||||
, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
|
, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
|
||||||
, stripped ? true
|
, stripped ? true
|
||||||
@@ -284,7 +284,9 @@ stdenv.mkDerivation ({
|
|||||||
''
|
''
|
||||||
else null;
|
else null;
|
||||||
|
|
||||||
inherit noSysDirs staticCompiler langJava crossStageStatic
|
# TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
|
||||||
|
crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
|
||||||
|
inherit noSysDirs staticCompiler langJava
|
||||||
libcCross crossMingw;
|
libcCross crossMingw;
|
||||||
|
|
||||||
nativeBuildInputs = [ texinfo which gettext ]
|
nativeBuildInputs = [ texinfo which gettext ]
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
, enablePlugin ? true # whether to support user-supplied plug-ins
|
, enablePlugin ? true # whether to support user-supplied plug-ins
|
||||||
, name ? "gcc"
|
, name ? "gcc"
|
||||||
, libcCross ? null
|
, libcCross ? null
|
||||||
, crossStageStatic ? true
|
, crossStageStatic ? false
|
||||||
, gnat ? null
|
, gnat ? null
|
||||||
, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
|
, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
|
||||||
, stripped ? true
|
, stripped ? true
|
||||||
@@ -280,7 +280,9 @@ stdenv.mkDerivation ({
|
|||||||
''
|
''
|
||||||
else null;
|
else null;
|
||||||
|
|
||||||
inherit noSysDirs staticCompiler langJava crossStageStatic
|
# TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
|
||||||
|
crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
|
||||||
|
inherit noSysDirs staticCompiler langJava
|
||||||
libcCross crossMingw;
|
libcCross crossMingw;
|
||||||
|
|
||||||
nativeBuildInputs = [ texinfo which gettext ]
|
nativeBuildInputs = [ texinfo which gettext ]
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
, enablePlugin ? true # whether to support user-supplied plug-ins
|
, enablePlugin ? true # whether to support user-supplied plug-ins
|
||||||
, name ? "gcc"
|
, name ? "gcc"
|
||||||
, libcCross ? null
|
, libcCross ? null
|
||||||
, crossStageStatic ? true
|
, crossStageStatic ? false
|
||||||
, gnat ? null
|
, gnat ? null
|
||||||
, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
|
, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
|
||||||
, stripped ? true
|
, stripped ? true
|
||||||
@@ -299,7 +299,9 @@ stdenv.mkDerivation ({
|
|||||||
''
|
''
|
||||||
else null;
|
else null;
|
||||||
|
|
||||||
inherit noSysDirs staticCompiler langJava crossStageStatic
|
# TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
|
||||||
|
crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
|
||||||
|
inherit noSysDirs staticCompiler langJava
|
||||||
libcCross crossMingw;
|
libcCross crossMingw;
|
||||||
|
|
||||||
nativeBuildInputs = [ texinfo which gettext ]
|
nativeBuildInputs = [ texinfo which gettext ]
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
, enablePlugin ? true # whether to support user-supplied plug-ins
|
, enablePlugin ? true # whether to support user-supplied plug-ins
|
||||||
, name ? "gcc"
|
, name ? "gcc"
|
||||||
, libcCross ? null
|
, libcCross ? null
|
||||||
, crossStageStatic ? true
|
, crossStageStatic ? false
|
||||||
, gnat ? null
|
, gnat ? null
|
||||||
, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
|
, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
|
||||||
, stripped ? true
|
, stripped ? true
|
||||||
@@ -292,7 +292,9 @@ stdenv.mkDerivation ({
|
|||||||
''
|
''
|
||||||
else null;
|
else null;
|
||||||
|
|
||||||
inherit noSysDirs staticCompiler langJava crossStageStatic
|
# TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
|
||||||
|
crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
|
||||||
|
inherit noSysDirs staticCompiler langJava
|
||||||
libcCross crossMingw;
|
libcCross crossMingw;
|
||||||
|
|
||||||
nativeBuildInputs = [ texinfo which gettext ]
|
nativeBuildInputs = [ texinfo which gettext ]
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
, enablePlugin ? true # whether to support user-supplied plug-ins
|
, enablePlugin ? true # whether to support user-supplied plug-ins
|
||||||
, name ? "gcc"
|
, name ? "gcc"
|
||||||
, libcCross ? null
|
, libcCross ? null
|
||||||
, crossStageStatic ? true
|
, crossStageStatic ? false
|
||||||
, gnat ? null
|
, gnat ? null
|
||||||
, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
|
, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
|
||||||
, stripped ? true
|
, stripped ? true
|
||||||
@@ -294,7 +294,9 @@ stdenv.mkDerivation ({
|
|||||||
''
|
''
|
||||||
else null;
|
else null;
|
||||||
|
|
||||||
inherit noSysDirs staticCompiler langJava crossStageStatic
|
# TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
|
||||||
|
crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
|
||||||
|
inherit noSysDirs staticCompiler langJava
|
||||||
libcCross crossMingw;
|
libcCross crossMingw;
|
||||||
|
|
||||||
nativeBuildInputs = [ texinfo which gettext ]
|
nativeBuildInputs = [ texinfo which gettext ]
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
, enablePlugin ? true # whether to support user-supplied plug-ins
|
, enablePlugin ? true # whether to support user-supplied plug-ins
|
||||||
, name ? "gcc"
|
, name ? "gcc"
|
||||||
, libcCross ? null
|
, libcCross ? null
|
||||||
, crossStageStatic ? true
|
, crossStageStatic ? false
|
||||||
, gnat ? null
|
, gnat ? null
|
||||||
, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
|
, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
|
||||||
, stripped ? true
|
, stripped ? true
|
||||||
@@ -281,7 +281,9 @@ stdenv.mkDerivation ({
|
|||||||
''
|
''
|
||||||
else null;
|
else null;
|
||||||
|
|
||||||
inherit noSysDirs staticCompiler langJava crossStageStatic
|
# TODO(@Ericson2314): Make passthru instead. Weird to avoid mass rebuild,
|
||||||
|
crossStageStatic = targetPlatform == hostPlatform || crossStageStatic;
|
||||||
|
inherit noSysDirs staticCompiler langJava
|
||||||
libcCross crossMingw;
|
libcCross crossMingw;
|
||||||
|
|
||||||
nativeBuildInputs = [ texinfo which gettext ]
|
nativeBuildInputs = [ texinfo which gettext ]
|
||||||
|
|||||||
@@ -5451,9 +5451,7 @@ with pkgs;
|
|||||||
|
|
||||||
gccCrossStageFinal = assert targetPlatform != buildPlatform; wrapCCWith {
|
gccCrossStageFinal = assert targetPlatform != buildPlatform; wrapCCWith {
|
||||||
name = "gcc-cross-wrapper";
|
name = "gcc-cross-wrapper";
|
||||||
cc = gcc.cc.override {
|
cc = gcc.cc;
|
||||||
crossStageStatic = false;
|
|
||||||
};
|
|
||||||
libc = libcCross;
|
libc = libcCross;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user