diff options
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__) |