libgcc: add glibc as a buildInput
This is necessary in order to prevent gcc from switching on `inhibit_libc`, which cripples the `libgcc_s.so` unwinder.
This commit is contained in:
parent
b5893e7046
commit
383d62d94c
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ in stdenvNoLibs.mkDerivation (finalAttrs: {
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
nativeBuildInputs = [ libiberty ];
|
nativeBuildInputs = [ libiberty ];
|
||||||
|
buildInputs = [ glibc ];
|
||||||
|
|
||||||
postUnpack = ''
|
postUnpack = ''
|
||||||
mkdir -p ./build
|
mkdir -p ./build
|
||||||
|
|
Loading…
Reference in a new issue