Skip to content

Commit

Permalink
Rollup merge of rust-lang#61538 - coypoop:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
Don't use GNU noexec stack note

NetBSD ignores this note and marks the stack no-exec unconditionally
  • Loading branch information
Centril authored Jun 5, 2019
2 parents 850b50a + 77e9335 commit 928f2ee
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/librustc_target/spec/netbsd_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 928f2ee

Please sign in to comment.