Skip to content

Commit

Permalink
Replace get_mut(& with entry( for powerpc64le-unknown-freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj authored Apr 14, 2021
1 parent 43a2b1a commit a2f532d
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).or_default().push("-m64".to_string());
base.pre_link_args.entry(LinkerFlavor::Gcc).or_default().push("-m64".to_string());
base.max_atomic_width = Some(64);

Target {
Expand Down

0 comments on commit a2f532d

Please sign in to comment.