cc-wrapper: Set correct hardening_unsupported_flags for newlib-nano
This commit is contained in:
parent
5342fc6fb5
commit
d5fb429c7d
1 changed files with 1 additions and 1 deletions
|
@ -474,7 +474,7 @@ stdenv.mkDerivation {
|
|||
hardening_unsupported_flags+=" stackprotector fortify"
|
||||
'' + optionalString targetPlatform.isAvr ''
|
||||
hardening_unsupported_flags+=" stackprotector pic"
|
||||
'' + optionalString (targetPlatform.libc == "newlib") ''
|
||||
'' + optionalString (targetPlatform.libc == "newlib" || targetPlatform.libc == "newlib-nano") ''
|
||||
hardening_unsupported_flags+=" stackprotector fortify pie pic"
|
||||
'' + optionalString (targetPlatform.libc == "musl" && targetPlatform.isx86_32) ''
|
||||
hardening_unsupported_flags+=" stackprotector"
|
||||
|
|
Loading…
Reference in a new issue