arch: use armhf for arm hardfloat eabi
at least debian and musl do this, so let's go along with that.cute-signatures
parent
1fb5f71154
commit
0fe8507f9d
|
@ -76,10 +76,10 @@ extern char **apk_argv;
|
||||||
#define APK_DEFAULT_ARCH "ppc"
|
#define APK_DEFAULT_ARCH "ppc"
|
||||||
#elif defined(__powerpc64__)
|
#elif defined(__powerpc64__)
|
||||||
#define APK_DEFAULT_ARCH "ppc64"
|
#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__
|
#elif defined(__arm__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
||||||
#define APK_DEFAULT_ARCH "armel"
|
#define APK_DEFAULT_ARCH "armel"
|
||||||
#elif defined(__arm__)
|
|
||||||
#define APK_DEFAULT_ARCH "arm"
|
|
||||||
#else
|
#else
|
||||||
#warning APK_DEFAULT_ARCH is not set for this architecture
|
#warning APK_DEFAULT_ARCH is not set for this architecture
|
||||||
#define APK_DEFAULT_ARCH "noarch"
|
#define APK_DEFAULT_ARCH "noarch"
|
||||||
|
|
Loading…
Reference in New Issue