From 2a9899d862ec00ad2287e3bc97194054a8c9c479 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 3 Jul 2014 09:08:30 -0400 Subject: [PATCH 1/1] architecture: add tuple for old arm abi I don't have suitable hardware at hand, so this is based on debian documentation: https://wiki.debian.org/ArmEabiPort#GCC_preprocessor_macros_for_floating_point --- src/shared/architecture.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/shared/architecture.h b/src/shared/architecture.h index 7163d1fca..a014ad6c1 100644 --- a/src/shared/architecture.h +++ b/src/shared/architecture.h @@ -150,10 +150,14 @@ Architecture uname_architecture(void); # endif # else # define native_architecture() ARCHITECTURE_ARM -# if defined(__ARM_PCS_VFP) -# define LIB_ARCH_TUPLE "arm-linux-gnueabihf" +# if defined(__ARM_EABI__) +# if defined(__ARM_PCS_VFP) +# define LIB_ARCH_TUPLE "arm-linux-gnueabihf" +# else +# define LIB_ARCH_TUPLE "arm-linux-gnueabi" +# endif # else -# define LIB_ARCH_TUPLE "arm-linux-gnueabi" +# define LIB_ARCH_TUPLE "arm-linux-gnu" # endif # endif #elif defined(__sh64__) -- 2.30.2