diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-05 17:43:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-05 17:43:33 +0200 |
| commit | 928f2eeb7bab8ab63539d68989981c9aed8a65bb (patch) | |
| tree | a8bd6855a6601fec0864b6be4b3016d854f8285d | |
| parent | 850b50a44f0811e788595eac644d1bf3439aff61 (diff) | |
| parent | 77e93358686f725012109f8bb0c8738182d74701 (diff) | |
| download | rust-928f2eeb7bab8ab63539d68989981c9aed8a65bb.tar.gz rust-928f2eeb7bab8ab63539d68989981c9aed8a65bb.zip | |
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
| -rw-r--r-- | src/librustc_target/spec/netbsd_base.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/librustc_target/spec/netbsd_base.rs b/src/librustc_target/spec/netbsd_base.rs index e9cd98c0e71..72e2fd59cf8 100644 --- a/src/librustc_target/spec/netbsd_base.rs +++ b/src/librustc_target/spec/netbsd_base.rs @@ -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 { |
