mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
cc-wrapper: don't use fortify-headers for non-gcc compilers
This commit is contained in:
parent
e45b9d1b8c
commit
df02fcb79b
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue