aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zerotier-one/ppc64le-make-linux.patch
diff options
context:
space:
mode:
authorMike Sullivan <mksully22@gmail.com>2018-03-07 15:22:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-13 11:25:49 +0000
commit87211fe30dc79fff3877c0c9dd6342c03dd91484 (patch)
treeec77568929f8d8891c9e72daceabe59ca22d2651 /testing/zerotier-one/ppc64le-make-linux.patch
parentf32eca54071c2e63fea83032797da0e8b5a3dfa5 (diff)
downloadaports-87211fe30dc79fff3877c0c9dd6342c03dd91484.tar.bz2
aports-87211fe30dc79fff3877c0c9dd6342c03dd91484.tar.xz
testing/zerotier-one: enable ppc64le and enable in make-linux.mk
Diffstat (limited to 'testing/zerotier-one/ppc64le-make-linux.patch')
-rw-r--r--testing/zerotier-one/ppc64le-make-linux.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/zerotier-one/ppc64le-make-linux.patch b/testing/zerotier-one/ppc64le-make-linux.patch
new file mode 100644
index 0000000000..7c867a6181
--- /dev/null
+++ b/testing/zerotier-one/ppc64le-make-linux.patch
@@ -0,0 +1,14 @@
+--- a/make-linux.mk
++++ b/make-linux.mk
+@@ -154,6 +154,11 @@
+ ZT_ARCHITECTURE=6
+ override DEFS+=-DZT_NO_TYPE_PUNNING
+ endif
++ifeq ($(CC_MACH),powerpc64le)
++ ZT_ARCHITECTURE=7
++ override DEFS+=-DZT_NO_TYPE_PUNNING
++endif
++
+
+ # Fail if system architecture could not be determined
+ ifeq ($(ZT_ARCHITECTURE),999)