From 0fe8507f9d9fbb2843f5bb6638abd448023a9be9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Thu, 5 Sep 2013 11:51:24 +0300 Subject: [PATCH] arch: use armhf for arm hardfloat eabi at least debian and musl do this, so let's go along with that. --- src/apk_defines.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apk_defines.h b/src/apk_defines.h index 7f8d3b6..fbe611c 100644 --- a/src/apk_defines.h +++ b/src/apk_defines.h @@ -76,10 +76,10 @@ extern char **apk_argv; #define APK_DEFAULT_ARCH "ppc" #elif defined(__powerpc64__) #define APK_DEFAULT_ARCH "ppc64" +#elif defined(__arm__) && defined(__ARM_PCS_VFP) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ +#define APK_DEFAULT_ARCH "armhf" #elif defined(__arm__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ #define APK_DEFAULT_ARCH "armel" -#elif defined(__arm__) -#define APK_DEFAULT_ARCH "arm" #else #warning APK_DEFAULT_ARCH is not set for this architecture #define APK_DEFAULT_ARCH "noarch"