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;
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ libiberty ];
buildInputs = [ glibc ];
postUnpack = ''
mkdir -p ./build