Skip to content

Commit

Permalink
Switch powerpc64le-unknown-freebsd to or_default()
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj authored Apr 14, 2021
1 parent f8ad601 commit 43a2b1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::spec::{LinkerFlavor, Target, TargetOptions};
pub fn target() -> Target {
let mut base = super::freebsd_base::opts();
base.cpu = "ppc64le".to_string();
base.pre_link_args.get_mut(&LinkerFlavor::Gcc).unwrap().push("-m64".to_string());
base.pre_link_args.get_mut(&LinkerFlavor::Gcc).or_default().push("-m64".to_string());
base.max_atomic_width = Some(64);

Target {
Expand Down

0 comments on commit 43a2b1a

Please sign in to comment.