mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
Merge pull request #243194 from amjoseph-nixpkgs/pr/gcc/crossStageStatic-undo-the-hack
gcc: revert "kludge to prevent mass-rebuild" from #238154
This commit is contained in:
commit
badbdfd88d
@ -214,10 +214,7 @@ lib.pipe (stdenv.mkDerivation ({
|
||||
)
|
||||
'';
|
||||
|
||||
# kludge to prevent a mass-rebuild; will be removed in a PR sent to staging
|
||||
crossStageStatic = withoutTargetLibc;
|
||||
|
||||
inherit noSysDirs staticCompiler
|
||||
inherit noSysDirs staticCompiler withoutTargetLibc
|
||||
libcCross crossMingw;
|
||||
|
||||
inherit (callFile ../common/dependencies.nix { })
|
||||
|
@ -227,10 +227,7 @@ lib.pipe (stdenv.mkDerivation ({
|
||||
)
|
||||
'';
|
||||
|
||||
# kludge to prevent a mass-rebuild; will be removed in a PR sent to staging
|
||||
crossStageStatic = withoutTargetLibc;
|
||||
|
||||
inherit noSysDirs staticCompiler
|
||||
inherit noSysDirs staticCompiler withoutTargetLibc
|
||||
libcCross crossMingw;
|
||||
|
||||
inherit (callFile ../common/dependencies.nix { })
|
||||
|
@ -271,10 +271,7 @@ lib.pipe (stdenv.mkDerivation ({
|
||||
)
|
||||
'';
|
||||
|
||||
# kludge to prevent a mass-rebuild; will be removed in a PR sent to staging
|
||||
crossStageStatic = withoutTargetLibc;
|
||||
|
||||
inherit noSysDirs staticCompiler
|
||||
inherit noSysDirs staticCompiler withoutTargetLibc
|
||||
libcCross crossMingw;
|
||||
|
||||
inherit (callFile ../common/dependencies.nix { }) depsBuildBuild nativeBuildInputs depsBuildTarget buildInputs depsTargetTarget;
|
||||
|
@ -265,10 +265,7 @@ lib.pipe (stdenv.mkDerivation ({
|
||||
)
|
||||
'';
|
||||
|
||||
# kludge to prevent a mass-rebuild; will be removed in a PR sent to staging
|
||||
crossStageStatic = withoutTargetLibc;
|
||||
|
||||
inherit noSysDirs staticCompiler
|
||||
inherit noSysDirs staticCompiler withoutTargetLibc
|
||||
libcCross crossMingw;
|
||||
|
||||
inherit (callFile ../common/dependencies.nix { }) depsBuildBuild nativeBuildInputs depsBuildTarget buildInputs depsTargetTarget;
|
||||
|
@ -232,10 +232,7 @@ lib.pipe (stdenv.mkDerivation ({
|
||||
''
|
||||
else null;
|
||||
|
||||
# kludge to prevent a mass-rebuild; will be removed in a PR sent to staging
|
||||
crossStageStatic = withoutTargetLibc;
|
||||
|
||||
inherit noSysDirs staticCompiler langJava
|
||||
inherit noSysDirs staticCompiler langJava withoutTargetLibc
|
||||
libcCross crossMingw;
|
||||
|
||||
inherit (callFile ../common/dependencies.nix { })
|
||||
|
@ -253,10 +253,7 @@ lib.pipe (stdenv.mkDerivation ({
|
||||
''
|
||||
else null;
|
||||
|
||||
# kludge to prevent a mass-rebuild; will be removed in a PR sent to staging
|
||||
crossStageStatic = withoutTargetLibc;
|
||||
|
||||
inherit noSysDirs staticCompiler langJava
|
||||
inherit noSysDirs staticCompiler langJava withoutTargetLibc
|
||||
libcCross crossMingw;
|
||||
|
||||
inherit (callFile ../common/dependencies.nix { })
|
||||
|
@ -269,10 +269,7 @@ lib.pipe (stdenv.mkDerivation ({
|
||||
))
|
||||
);
|
||||
|
||||
# kludge to prevent a mass-rebuild; will be removed in a PR sent to staging
|
||||
crossStageStatic = withoutTargetLibc;
|
||||
|
||||
inherit noSysDirs staticCompiler langJava
|
||||
inherit noSysDirs staticCompiler langJava withoutTargetLibc
|
||||
libcCross crossMingw;
|
||||
|
||||
inherit (callFile ../common/dependencies.nix { })
|
||||
|
@ -218,10 +218,7 @@ lib.pipe (stdenv.mkDerivation ({
|
||||
)
|
||||
'';
|
||||
|
||||
# kludge to prevent a mass-rebuild; will be removed in a PR sent to staging
|
||||
crossStageStatic = withoutTargetLibc;
|
||||
|
||||
inherit noSysDirs staticCompiler
|
||||
inherit noSysDirs staticCompiler withoutTargetLibc
|
||||
libcCross crossMingw;
|
||||
|
||||
inherit (callFile ../common/dependencies.nix { })
|
||||
|
@ -199,10 +199,7 @@ lib.pipe (stdenv.mkDerivation ({
|
||||
)
|
||||
'';
|
||||
|
||||
# kludge to prevent a mass-rebuild; will be removed in a PR sent to staging
|
||||
crossStageStatic = withoutTargetLibc;
|
||||
|
||||
inherit noSysDirs staticCompiler
|
||||
inherit noSysDirs staticCompiler withoutTargetLibc
|
||||
libcCross crossMingw;
|
||||
|
||||
inherit (callFile ../common/dependencies.nix { })
|
||||
|
@ -213,10 +213,7 @@ lib.pipe (stdenv.mkDerivation ({
|
||||
)
|
||||
'';
|
||||
|
||||
# kludge to prevent a mass-rebuild; will be removed in a PR sent to staging
|
||||
crossStageStatic = withoutTargetLibc;
|
||||
|
||||
inherit noSysDirs staticCompiler
|
||||
inherit noSysDirs staticCompiler withoutTargetLibc
|
||||
libcCross crossMingw;
|
||||
|
||||
inherit (callFile ../common/dependencies.nix { })
|
||||
|
@ -135,7 +135,7 @@ if test "$noSysDirs" = "1"; then
|
||||
)
|
||||
fi
|
||||
|
||||
if test "$crossStageStatic" == 1; then
|
||||
if test "$withoutTargetLibc" == 1; then
|
||||
# We don't want the gcc build to assume there will be a libc providing
|
||||
# limits.h in this stage
|
||||
makeFlagsArray+=(
|
||||
@ -167,7 +167,7 @@ preConfigure() {
|
||||
rm -Rf zlib
|
||||
fi
|
||||
|
||||
if test -n "$crossMingw" -a -n "$crossStageStatic"; then
|
||||
if test -n "$crossMingw" -a -n "$withoutTargetLibc"; then
|
||||
mkdir -p ../mingw
|
||||
# --with-build-sysroot expects that:
|
||||
cp -R $libcCross/include ../mingw
|
||||
|
Loading…
Reference in New Issue
Block a user