diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/architecture.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/shared/architecture.h b/src/shared/architecture.h index 6a3f0b2d4b..7163d1fcaf 100644 --- a/src/shared/architecture.h +++ b/src/shared/architecture.h @@ -143,13 +143,16 @@ Architecture uname_architecture(void); #elif defined(__arm__) # if defined(WORDS_BIGENDIAN) # define native_architecture() ARCHITECTURE_ARM_BE -# error "Missing LIB_ARCH_TUPLE for ARM_BE" +# if defined(__ARM_PCS_VFP) +# define LIB_ARCH_TUPLE "armeb-linux-gnueabihf" +# else +# define LIB_ARCH_TUPLE "armeb-linux-gnueabi" +# endif # else +# define native_architecture() ARCHITECTURE_ARM # if defined(__ARM_PCS_VFP) -# define native_architecture() ARCHITECTURE_ARM # define LIB_ARCH_TUPLE "arm-linux-gnueabihf" # else -# define native_architecture() ARCHITECTURE_ARM # define LIB_ARCH_TUPLE "arm-linux-gnueabi" # endif # endif |