diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-09-05 11:51:24 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-09-05 11:52:12 +0300 |
commit | 0fe8507f9d9fbb2843f5bb6638abd448023a9be9 (patch) | |
tree | 996c0277bdd53173e627d70f6dc9884ae3238db6 /src/apk_defines.h | |
parent | 1fb5f711546dcdfc84c9850c1631896a9844bd57 (diff) | |
download | apk-tools-0fe8507f9d9fbb2843f5bb6638abd448023a9be9.tar.gz apk-tools-0fe8507f9d9fbb2843f5bb6638abd448023a9be9.tar.bz2 apk-tools-0fe8507f9d9fbb2843f5bb6638abd448023a9be9.tar.xz apk-tools-0fe8507f9d9fbb2843f5bb6638abd448023a9be9.zip |
arch: use armhf for arm hardfloat eabi
at least debian and musl do this, so let's go along with that.
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r-- | src/apk_defines.h | 4 |
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" |