summaryrefslogtreecommitdiff
path: root/src/apk_defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r--src/apk_defines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h
index 9b2e904..7215360 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -95,6 +95,8 @@ extern char **apk_argv;
#define APK_DEFAULT_ARCH "armel"
#elif defined(__aarch64__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#define APK_DEFAULT_ARCH "aarch64"
+#elif defined(__s390x__)
+#define APK_DEFAULT_ARCH "s390x"
#else
#error APK_DEFAULT_ARCH not detected for this architecture
#endif