Browse Source

Add `ppc64le` arch

I've only tested locally, on a power8 box running Ubuntu 16.10, but everything (and earth) checks out.

Let me know if more testing infrastructure is needed.
Dezhi “Andy” Fang 8 years ago
parent
commit
48d2017629
1 changed files with 3 additions and 0 deletions
  1. 3 0
      make-linux.mk

+ 3 - 0
make-linux.mk

@@ -99,6 +99,9 @@ ifeq ($(CC_MACH),amd64)
 	ZT_ARCHITECTURE=2
 	ZT_USE_X64_ASM_SALSA2012=1
 endif
+ifeq ($(CC_MACH),powerpc64le)
+        ZT_ARCHITECTURE=2
+endif
 ifeq ($(CC_MACH),i386)
 	ZT_ARCHITECTURE=1
 endif