Merge pull request #174709 from FliegendeWurst/fortran-format-security
cc-wrapper: Fortran: disable format hardening
This commit is contained in:
commit
78028df447
1 changed files with 2 additions and 0 deletions
|
@ -492,6 +492,8 @@ stdenv.mkDerivation {
|
||||||
hardening_unsupported_flags+=" format stackprotector strictoverflow"
|
hardening_unsupported_flags+=" format stackprotector strictoverflow"
|
||||||
'' + optionalString cc.langD or false ''
|
'' + optionalString cc.langD or false ''
|
||||||
hardening_unsupported_flags+=" format"
|
hardening_unsupported_flags+=" format"
|
||||||
|
'' + optionalString cc.langFortran or false ''
|
||||||
|
hardening_unsupported_flags+=" format"
|
||||||
'' + optionalString targetPlatform.isWasm ''
|
'' + optionalString targetPlatform.isWasm ''
|
||||||
hardening_unsupported_flags+=" stackprotector fortify pie pic"
|
hardening_unsupported_flags+=" stackprotector fortify pie pic"
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue