gcc: disable symlink checks on cross + nolibc for now

This is a hack, but a proper fix requires an stdenv rebuild,
so it will have to go to staging.
This commit is contained in:
K900
2025-02-02 09:47:58 +03:00
parent c15f4ee007
commit 3fd43d5d74
@@ -3,6 +3,7 @@
stdenv,
enableMultilib,
targetConfig,
withoutTargetLibc,
}:
let
@@ -314,4 +315,7 @@ originalAttrs:
done
'';
}
// lib.optionalAttrs ((stdenv.targetPlatform.config != stdenv.hostPlatform.config) && withoutTargetLibc) {
dontCheckForBrokenSymlinks = true;
}
))