mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
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
@ -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…
Reference in New Issue
Block a user