Rollup merge of #61538 - coypoop:patch-1, r=alexcrichton

Don't use GNU noexec stack note

NetBSD ignores this note and marks the stack no-exec unconditionally
This commit is contained in:
Mazdak Farrokhzad 2019-06-05 17:43:33 +02:00 committed by GitHub
commit 928f2eeb7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,9 +9,6 @@ pub fn opts() -> TargetOptions {
// libraries which follow this flag. Thus, use it before
// specifying libraries to link to.
"-Wl,--as-needed".to_string(),
// Always enable NX protection when it is available
"-Wl,-z,noexecstack".to_string(),
]);
TargetOptions {