summaryrefslogtreecommitdiff
path: root/system/apk-tools/pmmx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/apk-tools/pmmx.patch')
-rw-r--r--system/apk-tools/pmmx.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/apk-tools/pmmx.patch b/system/apk-tools/pmmx.patch
new file mode 100644
index 000000000..1b19edc94
--- /dev/null
+++ b/system/apk-tools/pmmx.patch
@@ -0,0 +1,11 @@
+--- apk-tools-2.10.1/src/apk_defines.h.old 2018-09-10 08:04:03.000000000 +0000
++++ apk-tools-2.10.1/src/apk_defines.h 2019-01-04 03:31:41.900000000 +0000
+@@ -88,7 +88,7 @@
+ #if defined(__x86_64__)
+ #define APK_DEFAULT_ARCH "x86_64"
+ #elif defined(__i386__)
+-#define APK_DEFAULT_ARCH "x86"
++#define APK_DEFAULT_ARCH "pmmx"
+ #elif defined(__powerpc__) && !defined(__powerpc64__)
+ #define APK_DEFAULT_ARCH "ppc"
+ #elif defined(__powerpc64__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__