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:
commit
928f2eeb7b
1 changed files with 0 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue