From 7b23815a26d1f368a29ad776c741814c09afbe53 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Fri, 13 Nov 2020 19:00:36 +0300 Subject: [PATCH] use AES-NI on osx by default --- Makefile.homebrew | 2 +- Makefile.osx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.homebrew b/Makefile.homebrew index e21fd033..83fc7034 100644 --- a/Makefile.homebrew +++ b/Makefile.homebrew @@ -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 diff --git a/Makefile.osx b/Makefile.osx index 4b2e2469..2e52585e 100644 --- a/Makefile.osx +++ b/Makefile.osx @@ -23,7 +23,7 @@ ifeq ($(USE_UPNP),yes) endif ifeq ($(USE_AESNI),yes) - CXXFLAGS += -D__AES__ + CXXFLAGS += -D__AES__ -maes else CXXFLAGS += -msse endif