mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-24 23:06:19 +00:00
13 lines
602 B
Diff
13 lines
602 B
Diff
Reason: https://gist.github.com/ab75b3796a9383423deecc0828494ac5
|
|
--- rustc-1.36.0-src/src/librustc_target/spec/linux_musl_base.rs
|
|
+++ rustc-1.36.0-src/src/librustc_target/spec/linux_musl_base.rs
|
|
@@ -10,7 +10,7 @@ pub fn opts() -> TargetOptions {
|
|
base.pre_link_args.get_mut(&LinkerFlavor::Gcc).unwrap().push("-Wl,--eh-frame-hdr".to_string());
|
|
|
|
// These targets statically link libc by default
|
|
- base.crt_static_default = true;
|
|
+ base.crt_static_default = false;
|
|
// These targets allow the user to choose between static and dynamic linking.
|
|
base.crt_static_respected = true;
|
|
|