summaryrefslogtreecommitdiff
path: root/make-linux.mk
diff options
context:
space:
mode:
authorJoseph Henry <josephjah@gmail.com>2019-06-11 10:54:06 -0700
committerJoseph Henry <josephjah@gmail.com>2019-06-11 10:54:06 -0700
commitebadc6f2030aa9cd335fa7a6b65e97c7dc24477a (patch)
tree3edc3f9e937b5802fa7cca86cff6a74b817956b1 /make-linux.mk
parent848f822171a41f78eef7ee0dcab99a6ec53d634a (diff)
downloadinfinitytier-ebadc6f2030aa9cd335fa7a6b65e97c7dc24477a.tar.gz
infinitytier-ebadc6f2030aa9cd335fa7a6b65e97c7dc24477a.zip
Added s390x arch flags to makefile and ZeroTierOne.h for ticket #950
Diffstat (limited to 'make-linux.mk')
-rw-r--r--make-linux.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/make-linux.mk b/make-linux.mk
index dc238c4f..d0745fe9 100644
--- a/make-linux.mk
+++ b/make-linux.mk
@@ -224,6 +224,9 @@ ifeq ($(CC_MACH),mips64el)
ZT_ARCHITECTURE=6
override DEFS+=-DZT_NO_TYPE_PUNNING
endif
+ifeq ($(CC_MACH),s390x)
+ ZT_ARCHITECTURE=16
+endif
# Fail if system architecture could not be determined
ifeq ($(ZT_ARCHITECTURE),999)