From cb205800a65d4ef1aec51c1872ee209301e118f8 Mon Sep 17 00:00:00 2001 From: Steven Walter Date: Fri, 17 Apr 2015 16:23:48 -0400 Subject: [PATCH] rust.inc: fix ARM soft float Use RUST_TARGET_SYS instead of hard-coding for hard-float --- recipes/rust/rust.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/rust/rust.inc b/recipes/rust/rust.inc index 85122f8..75ae56e 100644 --- a/recipes/rust/rust.inc +++ b/recipes/rust/rust.inc @@ -27,7 +27,7 @@ export RUST_TARGET_PATH="${WORKDIR}/targets/" ## arm-unknown-linux-gnueabihf DATA_LAYOUT[arm] = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32" -LLVM_TARGET[arm] = "arm-unknown-linux-gnueabihf" +LLVM_TARGET[arm] = "${RUST_TARGET_SYS}" TARGET_ENDIAN[arm] = "little" TARGET_POINTER_WIDTH[arm] = "32" FEATURES[arm] = "+v6,+vfp2"