Enable AES-NI on Android X86-64
Need to find the magic incantation to enable it on ARM64 still
This commit is contained in:
parent
0f2887265c
commit
9e6dba9066
2 changed files with 9 additions and 1 deletions
|
@ -12,9 +12,15 @@ LOCAL_LDLIBS := -llog
|
|||
# LOCAL_CFLAGS := -g
|
||||
|
||||
LOCAL_CFLAGS := -DZT_USE_MINIUPNPC
|
||||
ifeq ($(TARGET_ARCH_ABI),x86_64)
|
||||
LOCAL_CXXFLAGS := -maes -mpclmul -msse4.1
|
||||
endif
|
||||
|
||||
# ZeroTierOne SDK source files
|
||||
LOCAL_SRC_FILES := \
|
||||
$(ZT1)/node/AES.cpp \
|
||||
$(ZT1)/node/Bond.cpp \
|
||||
$(ZT1)/node/BondController.cpp \
|
||||
$(ZT1)/node/C25519.cpp \
|
||||
$(ZT1)/node/Capability.cpp \
|
||||
$(ZT1)/node/CertificateOfMembership.cpp \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue