Merge pull request #251942 from risicle/ris-fortify-headers-disable-non-gcc

cc-wrapper: don't use `fortify-headers` for non-gcc compilers
This commit is contained in:
Robert Scott
2023-08-28 15:42:21 +01:00
committed by GitHub
+1 -1
View File
@@ -69,7 +69,7 @@ let
includeFortifyHeaders' = if includeFortifyHeaders != null
then includeFortifyHeaders
else targetPlatform.libc == "musl";
else (targetPlatform.libc == "musl" && isGNU);
# Prefix for binaries. Customarily ends with a dash separator.
#