diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-03 09:08:30 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-07-03 09:54:05 -0400 |
commit | 2a9899d862ec00ad2287e3bc97194054a8c9c479 (patch) | |
tree | aa5f0b7b25cb47ac02879b27f6498a6e8e839b02 /src/shared/architecture.h | |
parent | c3a07d946b962ba849b6fe5e114f26b0fc6a7ae0 (diff) |
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
Diffstat (limited to 'src/shared/architecture.h')
-rw-r--r-- | src/shared/architecture.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/shared/architecture.h b/src/shared/architecture.h index 7163d1fcaf..a014ad6c1d 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__) |