about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-03-13 08:26:40 -0700
committerbors <bors@rust-lang.org>2014-03-13 08:26:40 -0700
commit6ca57736ccd2b9d0c7288f997b31c0391dd1dbca (patch)
treedf93759d2dad416c3149725c6e5a153d347a7e43
parent05975a49282355ab2d7ddfa54c23294ae271d544 (diff)
parentf568720c99d31e55145699ee0c4ecf65099abc40 (diff)
downloadrust-6ca57736ccd2b9d0c7288f997b31c0391dd1dbca.tar.gz
rust-6ca57736ccd2b9d0c7288f997b31c0391dd1dbca.zip
auto merge of #12852 : itdaniher/rust/master, r=alexcrichton
This enables the lowering of llvm 64b intrinsics to hardware ops, resolving issues around `__kernel_cmpxchg64` on older kernels on ARM devices, and also enables use of the hardware floating point unit, resolving https://github.com/mozilla/rust/issues/10482.
-rw-r--r--mk/platform.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/platform.mk b/mk/platform.mk
index b27546289f3..cf6178ec5b0 100644
--- a/mk/platform.mk
+++ b/mk/platform.mk
@@ -330,7 +330,7 @@ CFG_PATH_MUNGE_arm-unknown-linux-gnueabihf := true
 CFG_LDPATH_arm-unknown-linux-gnueabihf :=
 CFG_RUN_arm-unknown-linux-gnueabihf=$(2)
 CFG_RUN_TARG_arm-unknown-linux-gnueabihf=$(call CFG_RUN_arm-unknown-linux-gnueabihf,,$(2))
-RUSTC_FLAGS_arm-unknown-linux-gnueabihf :=
+RUSTC_FLAGS_arm-unknown-linux-gnueabihf := -C target-feature=+v7,+vfp3
 RUSTC_CROSS_FLAGS_arm-unknown-linux-gnueabihf :=
 
 # arm-unknown-linux-gnueabi configuration