Added s390x arch flags to makefile and ZeroTierOne.h for ticket #950

This commit is contained in:
Joseph Henry 2019-06-11 10:54:06 -07:00
parent 848f822171
commit ebadc6f203
2 changed files with 5 additions and 1 deletions

View file

@ -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)