aboutsummaryrefslogtreecommitdiffstats
path: root/main/apk-tools/0001-add-s390x-headers.patch
blob: b05da4979c6a5d4225b14331576aea76c5ab8ca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 24636f5277d6279f7740a46ed446d1bc763c7e91 Mon Sep 17 00:00:00 2001
From: "Tuan M. Hoang" <tmhoang@flatglobe.org>
Date: Sun, 20 Nov 2016 22:39:44 +0700
Subject: [PATCH] add s390x headers

---
 src/apk_defines.h | 2 ++
 1 file changed, 2 insertions(+)

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
-- 
2.10.2