From a5b8b3052b8d7d1c92e7bcc1dc2e8f67315dc603 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 7 Sep 2014 01:21:01 +0200 Subject: [PATCH] cross-profiles/armv7hf: switch to the armv7l-linux-gnueabihf cross compiler again. glibc uses the cross compiler preprocessor to know what architecture to compile for, resulting in wrong architecture being used with the armv6 cross compiler. --- common/cross-profiles/armv7hf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cross-profiles/armv7hf.sh b/common/cross-profiles/armv7hf.sh index fe9104f810c..fe738c1f24c 100644 --- a/common/cross-profiles/armv7hf.sh +++ b/common/cross-profiles/armv7hf.sh @@ -1,7 +1,7 @@ # Cross build profile for ARMv7 GNU EABI Hard Float. XBPS_TARGET_ARCH="armv7l" -XBPS_CROSS_TRIPLET="arm-linux-gnueabihf" +XBPS_CROSS_TRIPLET="armv7l-linux-gnueabihf" XBPS_CFLAGS="-O2 -pipe -fstack-protector-strong" XBPS_CXXFLAGS="$XBPS_CFLAGS" XBPS_CROSS_CFLAGS="-march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard"