summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDezhi “Andy” Fang <AndyFang.DZ@gmail.com>2017-08-06 02:06:00 -0700
committerGitHub <noreply@github.com>2017-08-06 02:06:00 -0700
commit48d20176290bcdaeb6ce288dfd5599f312d80a60 (patch)
tree1894350c6a63b7f25d75905375eeefe3a1e6972c
parente4823381c66917746abb0f8d13281d61daa2f112 (diff)
downloadinfinitytier-48d20176290bcdaeb6ce288dfd5599f312d80a60.tar.gz
infinitytier-48d20176290bcdaeb6ce288dfd5599f312d80a60.zip
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.
-rw-r--r--make-linux.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/make-linux.mk b/make-linux.mk
index 7017d31e..8b0082aa 100644
--- a/make-linux.mk
+++ b/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