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

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

authored by Robert Scott and committed by GitHub 505dccf6 69493bd6

+1 -1
+1 -1
pkgs/build-support/cc-wrapper/default.nix
··· 69 69 70 70 includeFortifyHeaders' = if includeFortifyHeaders != null 71 71 then includeFortifyHeaders 72 - else targetPlatform.libc == "musl"; 72 + else (targetPlatform.libc == "musl" && isGNU); 73 73 74 74 # Prefix for binaries. Customarily ends with a dash separator. 75 75 #