From 2efd024ad3fe0ed0688a030676412a37160f6b9d Mon Sep 17 00:00:00 2001 From: petevine Date: Sun, 31 Jan 2016 22:26:34 +0100 Subject: [PATCH] Fix the armv7 linux target --- mk/cfg/armv7-unknown-linux-gnueabihf.mk | 4 ++-- src/librustc_back/target/armv7_unknown_linux_gnueabihf.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mk/cfg/armv7-unknown-linux-gnueabihf.mk b/mk/cfg/armv7-unknown-linux-gnueabihf.mk index 546c71f667f..3efbad8642b 100644 --- a/mk/cfg/armv7-unknown-linux-gnueabihf.mk +++ b/mk/cfg/armv7-unknown-linux-gnueabihf.mk @@ -8,8 +8,8 @@ CFG_LIB_NAME_armv7-unknown-linux-gnueabihf=lib$(1).so CFG_STATIC_LIB_NAME_armv7-unknown-linux-gnueabihf=lib$(1).a CFG_LIB_GLOB_armv7-unknown-linux-gnueabihf=lib$(1)-*.so CFG_LIB_DSYM_GLOB_armv7-unknown-linux-gnueabihf=lib$(1)-*.dylib.dSYM -CFG_JEMALLOC_CFLAGS_armv7-unknown-linux-gnueabihf := -D__arm__ $(CFLAGS) -march=armv7 -CFG_GCCISH_CFLAGS_armv7-unknown-linux-gnueabihf := -Wall -g -fPIC -D__arm__ $(CFLAGS) -march=armv7 +CFG_JEMALLOC_CFLAGS_armv7-unknown-linux-gnueabihf := -D__arm__ $(CFLAGS) -march=armv7-a +CFG_GCCISH_CFLAGS_armv7-unknown-linux-gnueabihf := -Wall -g -fPIC -D__arm__ $(CFLAGS) -march=armv7-a CFG_GCCISH_CXXFLAGS_armv7-unknown-linux-gnueabihf := -fno-rtti $(CXXFLAGS) CFG_GCCISH_LINK_FLAGS_armv7-unknown-linux-gnueabihf := -shared -fPIC -g CFG_GCCISH_DEF_FLAG_armv7-unknown-linux-gnueabihf := -Wl,--export-dynamic,--dynamic-list= diff --git a/src/librustc_back/target/armv7_unknown_linux_gnueabihf.rs b/src/librustc_back/target/armv7_unknown_linux_gnueabihf.rs index fed4649c985..dd61bd87573 100644 --- a/src/librustc_back/target/armv7_unknown_linux_gnueabihf.rs +++ b/src/librustc_back/target/armv7_unknown_linux_gnueabihf.rs @@ -23,7 +23,7 @@ pub fn target() -> Target { options: TargetOptions { features: "+v7,+vfp2,+neon".to_string(), - cpu: "cortex-a7".to_string(), + cpu: "cortex-a8".to_string(), .. base } }