diff --git a/src/librustc_back/target/mips_unknown_linux_musl.rs b/src/librustc_back/target/mips_unknown_linux_musl.rs index e1a3de34d01..80168d4af4b 100644 --- a/src/librustc_back/target/mips_unknown_linux_musl.rs +++ b/src/librustc_back/target/mips_unknown_linux_musl.rs @@ -18,6 +18,7 @@ pub fn target() -> TargetResult { base.max_atomic_width = Some(32); // see #36994 base.exe_allocation_crate = None; + base.crt_static_default = false; Ok(Target { llvm_target: "mips-unknown-linux-musl".to_string(), target_endian: "big".to_string(), diff --git a/src/librustc_back/target/mipsel_unknown_linux_musl.rs b/src/librustc_back/target/mipsel_unknown_linux_musl.rs index 08c16af70d3..b09d96eb9cb 100644 --- a/src/librustc_back/target/mipsel_unknown_linux_musl.rs +++ b/src/librustc_back/target/mipsel_unknown_linux_musl.rs @@ -18,6 +18,7 @@ pub fn target() -> TargetResult { base.max_atomic_width = Some(32); // see #36994 base.exe_allocation_crate = None; + base.crt_static_default = false; Ok(Target { llvm_target: "mipsel-unknown-linux-musl".to_string(), target_endian: "little".to_string(),