auto merge of #16534 : thestinger/rust/dep, r=huonw
This is already enabled by default for x86_64 executables on Windows, but it needs to be manually enabled on x86. Closes #16533
This commit is contained in:
commit
22b7e4dd56
1 changed files with 3 additions and 0 deletions
|
|
@ -1472,6 +1472,9 @@ fn link_args(cmd: &mut Command,
|
|||
// [1] - https://sourceware.org/bugzilla/show_bug.cgi?id=13130
|
||||
// [2] - https://code.google.com/p/go/issues/detail?id=2139
|
||||
cmd.arg("-Wl,--enable-long-section-names");
|
||||
|
||||
// Always enable DEP (NX bit) when it is available
|
||||
cmd.arg("-Wl,--nxcompat");
|
||||
}
|
||||
|
||||
if sess.targ_cfg.os == abi::OsAndroid {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue