Commit 06ae5fdf authored by Timo Teräs's avatar Timo Teräs

detect aarch64 architecture and assign default name for it

parent 5723afde
......@@ -93,9 +93,10 @@ extern char **apk_argv;
#define APK_DEFAULT_ARCH "armhf"
#elif defined(__arm__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#define APK_DEFAULT_ARCH "armel"
#elif defined(__aarch64__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#define APK_DEFAULT_ARCH "aarch64"
#else
#warning APK_DEFAULT_ARCH is not set for this architecture
#define APK_DEFAULT_ARCH "noarch"
#error APK_DEFAULT_ARCH not detected for this architecture
#endif
#define APK_MAX_REPOS 32 /* see struct apk_package */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment