chiark / gitweb /
architecture: add tuple for old arm abi
[elogind.git] / src / shared / architecture.h
index 7163d1fcafa0b48ec0749325f5f999536c745d7b..a014ad6c1d06f0237bf84ef38fb8f8be724edcf8 100644 (file)
@@ -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__)