Skip to content

Commit 77e9335

Browse files
authored
Don't use GNU noexec stack note
NetBSD ignores this note and marks the stack no-exec unconditionally
1 parent 81eb152 commit 77e9335

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/librustc_target/spec/netbsd_base.rs

-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ pub fn opts() -> TargetOptions {
99
// libraries which follow this flag. Thus, use it before
1010
// specifying libraries to link to.
1111
"-Wl,--as-needed".to_string(),
12-
13-
// Always enable NX protection when it is available
14-
"-Wl,-z,noexecstack".to_string(),
1512
]);
1613

1714
TargetOptions {

0 commit comments

Comments
 (0)