cc-wrapper: don't use fortify-headers for non-gcc compilers

This commit is contained in:
Robert Scott
2023-08-28 15:06:44 +01:00
parent e45b9d1b8c
commit df02fcb79b
+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.
#