Add license key lib for aarch64

Former-commit-id: 8b804d91e3dc810b6d8cc585dd3747ba962ead18
This commit is contained in:
John Sully 2020-01-06 19:16:48 +00:00
parent 1ecc8a3eef
commit f5c743cc7a
3 changed files with 9 additions and 1 deletions

BIN
deps/license/arm64/libkey.a vendored Normal file

Binary file not shown.

View File

@ -54,6 +54,8 @@ ifneq ($(SANITIZE),)
USEASM=false
endif
# Do we use our assembly spinlock? X64 only
ifeq ($(uname_S),Linux)
ifeq ($(uname_M),x86_64)
@ -82,6 +84,12 @@ ifneq (,$(findstring armv,$(uname_M)))
endif
endif
ifneq (,$(filter aarch64 armv,$(uname_M)))
LICENSE_LIB_DIR=../deps/license/arm64/
else
LICENSE_LIB_DIR=../deps/licese/x64/
endif
# Backwards compatibility for selecting an allocator
ifeq ($(USE_TCMALLOC),yes)
MALLOC=tcmalloc
@ -105,7 +113,7 @@ endif
FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
FINAL_CXXFLAGS=$(CXX_STD) $(WARN) $(OPT) $(DEBUG) $(CXXFLAGS) $(REDIS_CFLAGS)
FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
FINAL_LIBS=-lm -lz -latomic -L../deps/license/ -lkey -lcrypto
FINAL_LIBS=-lm -lz -latomic -L$(LICENSE_LIB_DIR) -lkey -lcrypto
DEBUG=-g -ggdb
ifeq ($(uname_S),SunOS)