support MacOS arm64

This commit is contained in:
shuxin   zheng 2022-03-15 16:32:07 +08:00
parent efed44582f
commit 9fceb75a52

View File

@ -97,7 +97,7 @@ ifeq ($(findstring Darwin, $(UNIXNAME)), Darwin)
CFLAGS += -DMACOSX -Wno-invalid-source-encoding \
-Wno-invalid-offsetof \
-Wno-deprecated-declarations
ifeq ($(findstring arm64, $(UNIXNAME)), aram64)
ifeq ($(findstring arm64, $(UNIXNAME)), arm64)
JMP_CTX = USE_BOOST_JMP
endif
endif