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

This commit is contained in:
Robert Scott 2023-08-26 13:25:46 +01:00
parent e45b9d1b8c
commit df02fcb79b

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.
#