aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zerotier-one/ppc64le-make-linux.patch
blob: 7c867a6181254903928c44e9243c0cb1868bfbd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)