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:
Adam Joseph 2023-08-08 02:02:04 -07:00
parent b5893e7046
commit 383d62d94c

View file

@ -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