mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
Remove unnecessary linker args
This commit is contained in:
parent
60beb1a995
commit
f688a56ef6
@ -19,15 +19,9 @@ pub fn target() -> Target {
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
opts.pre_link_args.insert(
|
||||
LinkerFlavor::Lld(LldFlavor::Ld),
|
||||
vec![],
|
||||
);
|
||||
opts.pre_link_args.insert(LinkerFlavor::Lld(LldFlavor::Ld), vec![]);
|
||||
|
||||
opts.post_link_args.insert(
|
||||
LinkerFlavor::Lld(LldFlavor::Ld),
|
||||
vec!["--no-gc-sections".to_string(), "--eh-frame-hdr".to_string()],
|
||||
);
|
||||
opts.post_link_args.insert(LinkerFlavor::Lld(LldFlavor::Ld), vec![]);
|
||||
|
||||
Target {
|
||||
llvm_target: "aarch64-unknown-none".into(),
|
||||
|
Loading…
Reference in New Issue
Block a user