Windows mingw targets use gcc as the linker so the target spec should also indicate linker_is_gnu.
This commit is contained in:
parent
3fe1d7f789
commit
45225d24bf
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ pub fn opts() -> TargetOptions {
|
||||||
// FIXME(#13846) this should be enabled for windows
|
// FIXME(#13846) this should be enabled for windows
|
||||||
function_sections: false,
|
function_sections: false,
|
||||||
linker: Some("gcc".to_string()),
|
linker: Some("gcc".to_string()),
|
||||||
|
linker_is_gnu: true,
|
||||||
dynamic_linking: true,
|
dynamic_linking: true,
|
||||||
executables: true,
|
executables: true,
|
||||||
dll_prefix: String::new(),
|
dll_prefix: String::new(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue