use AES-NI on osx by default

This commit is contained in:
R4SAS 2020-11-13 19:00:36 +03:00
parent 1adaa50c65
commit 7b23815a26
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ endif
# Seems like all recent Mac's have AES-NI, after firmware upgrade 2.2
# Found no good way to detect it from command line. TODO: Might be some osx sysinfo magic
ifeq ($(USE_AESNI),yes)
CXXFLAGS += -D__AES__
CXXFLAGS += -D__AES__ -maes
endif
install: all