glibc: fix path derp on cross

This commit is contained in:
K900
2026-01-15 11:20:38 +03:00
parent eff3523324
commit 055ff17e06
+1 -1
View File
@@ -296,7 +296,7 @@ stdenv.mkDerivation (
configureScript="`pwd`/../configure"
''
+ lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
sed -i s/-lgcc_eh//g "../$sourceRoot/Makeconfig"
sed -i s/-lgcc_eh//g ../Makeconfig
cat > config.cache << "EOF"
libc_cv_forced_unwind=yes