cc-wrapper: allow compilers to specify unsupported hardening modes
Fixes: 0fd7ef61b2 ('clang_34: Disable hardening bits (#28543)')
This commit is contained in:
@@ -292,7 +292,7 @@ stdenv.mkDerivation {
|
||||
## Hardening support
|
||||
##
|
||||
|
||||
export hardening_unsupported_flags=""
|
||||
export hardening_unsupported_flags="${builtins.concatStringsSep " " (cc.hardeningUnsupportedFlags or [])}"
|
||||
''
|
||||
|
||||
+ optionalString hostPlatform.isCygwin ''
|
||||
|
||||
Reference in New Issue
Block a user