arch: use armhf for arm hardfloat eabi

at least debian and musl do this, so let's go along with that.
cute-signatures
Timo Teräs 2013-09-05 11:51:24 +03:00
parent 1fb5f71154
commit 0fe8507f9d
1 changed files with 2 additions and 2 deletions

View File

@ -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"