netbsd: add cross target
This commit is contained in:
committed by
Matthew Bauer
parent
1b2675213c
commit
aab8c7ba43
@@ -291,6 +291,10 @@ stdenv.mkDerivation {
|
||||
hardening_unsupported_flags+=" stackprotector pic"
|
||||
''
|
||||
|
||||
+ optionalString targetPlatform.isNetBSD ''
|
||||
hardening_unsupported_flags+=" stackprotector fortify"
|
||||
''
|
||||
|
||||
+ optionalString (targetPlatform.libc == "newlib") ''
|
||||
hardening_unsupported_flags+=" stackprotector fortify pie pic"
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user