Auto merge of #31814 - petevine:master, r=alexcrichton
The `vfp2` option was a leftover from `armv6` compatibility features of the original armhf target. Gcc defaults to `vfp3`on `armv7` hard-float linux systems so we should make it the default for rustc too.
This commit is contained in:
commit
be7196a793
2 changed files with 2 additions and 2 deletions
|
|
@ -21,6 +21,6 @@ CFG_UNIXY_armv7-unknown-linux-gnueabihf := 1
|
|||
CFG_LDPATH_armv7-unknown-linux-gnueabihf :=
|
||||
CFG_RUN_armv7-unknown-linux-gnueabihf=$(2)
|
||||
CFG_RUN_TARG_armv7-unknown-linux-gnueabihf=$(call CFG_RUN_armv7-unknown-linux-gnueabihf,,$(2))
|
||||
RUSTC_FLAGS_armv7-unknown-linux-gnueabihf := -C target-feature=+v7,+vfp2,+neon
|
||||
RUSTC_FLAGS_armv7-unknown-linux-gnueabihf :=
|
||||
RUSTC_CROSS_FLAGS_armv7-unknown-linux-gnueabihf :=
|
||||
CFG_GNU_TRIPLE_armv7-unknown-linux-gnueabihf := armv7-unknown-linux-gnueabihf
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ pub fn target() -> Target {
|
|||
target_vendor: "unknown".to_string(),
|
||||
|
||||
options: TargetOptions {
|
||||
features: "+v7,+vfp2,+neon".to_string(),
|
||||
features: "+v7,+vfp3,+neon".to_string(),
|
||||
cpu: "cortex-a8".to_string(),
|
||||
.. base
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue