summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/apk_defines.h4
1 files 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"