This commit is contained in:
Joseph Henry 2022-04-12 17:46:13 -07:00
commit 6cddb94509
3 changed files with 7 additions and 2 deletions

View file

@ -252,6 +252,10 @@ endif
ifeq ($(CC_MACH),riscv64)
ZT_ARCHITECTURE=0
endif
ifeq ($(CC_MACH),loongarch64)
ZT_ARCHITECTURE=17
override DEFS+=-DZT_NO_TYPE_PUNNING
endif
# Fail if system architecture could not be determined
ifeq ($(ZT_ARCHITECTURE),999)