mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 10:46:33 +00:00
Added s390x arch flags to makefile and ZeroTierOne.h for ticket #950
This commit is contained in:
parent
848f822171
commit
ebadc6f203
@ -1096,7 +1096,8 @@ enum ZT_Architecture
|
||||
ZT_ARCHITECTURE_SPARC64 = 12,
|
||||
ZT_ARCHITECTURE_DOTNET_CLR = 13,
|
||||
ZT_ARCHITECTURE_JAVA_JVM = 14,
|
||||
ZT_ARCHITECTURE_WEB = 15
|
||||
ZT_ARCHITECTURE_WEB = 15,
|
||||
ZT_ARCHITECTURE_S390X = 16
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user