mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-24 15:16:40 +00:00
parent
4dbdfb6972
commit
40681328ec
@ -1079,7 +1079,8 @@ enum ZT_Architecture
|
|||||||
ZT_ARCHITECTURE_DOTNET_CLR = 13,
|
ZT_ARCHITECTURE_DOTNET_CLR = 13,
|
||||||
ZT_ARCHITECTURE_JAVA_JVM = 14,
|
ZT_ARCHITECTURE_JAVA_JVM = 14,
|
||||||
ZT_ARCHITECTURE_WEB = 15,
|
ZT_ARCHITECTURE_WEB = 15,
|
||||||
ZT_ARCHITECTURE_S390X = 16
|
ZT_ARCHITECTURE_S390X = 16,
|
||||||
|
ZT_ARCHITECTURE_LOONGARCH64 = 17
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -252,6 +252,10 @@ endif
|
|||||||
ifeq ($(CC_MACH),riscv64)
|
ifeq ($(CC_MACH),riscv64)
|
||||||
ZT_ARCHITECTURE=0
|
ZT_ARCHITECTURE=0
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CC_MACH),loongarch64)
|
||||||
|
ZT_ARCHITECTURE=17
|
||||||
|
override DEFS+=-DZT_NO_TYPE_PUNNING
|
||||||
|
endif
|
||||||
|
|
||||||
# Fail if system architecture could not be determined
|
# Fail if system architecture could not be determined
|
||||||
ifeq ($(ZT_ARCHITECTURE),999)
|
ifeq ($(ZT_ARCHITECTURE),999)
|
||||||
|
Loading…
Reference in New Issue
Block a user