diff options
Diffstat (limited to 'testing/zerotier-one/ppc64le-make-linux.patch')
-rw-r--r-- | testing/zerotier-one/ppc64le-make-linux.patch | 14 |
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) |