diff --git a/Makefile.homebrew b/Makefile.homebrew index 41a89e93..688fdaea 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 += -maes -DAESNI + CXXFLAGS += -maes endif ifeq ($(USE_AVX),1) CXXFLAGS += -mavx diff --git a/Makefile.linux b/Makefile.linux index bd8d8fd3..b9a740ad 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -64,7 +64,7 @@ ifneq ($(shell $(GREP) -c aes /proc/cpuinfo),0) ifeq ($(machine), aarch64) CXXFLAGS += -DARM64AES else - CPU_FLAGS += -maes -DAESNI + CPU_FLAGS += -maes endif endif endif diff --git a/Makefile.mingw b/Makefile.mingw index ac2d0363..5dae3723 100644 --- a/Makefile.mingw +++ b/Makefile.mingw @@ -37,7 +37,7 @@ endif # don't change following line to ifeq ($(USE_AESNI),yes) !!! ifeq ($(USE_AESNI),1) - CPU_FLAGS += -maes -DAESNI + CPU_FLAGS += -maes else CPU_FLAGS += -msse endif diff --git a/Makefile.osx b/Makefile.osx index 2db88784..3358cb10 100644 --- a/Makefile.osx +++ b/Makefile.osx @@ -20,7 +20,7 @@ ifeq ($(USE_UPNP),yes) endif ifeq ($(USE_AESNI),1) - CXXFLAGS += -maes -DAESNI + CXXFLAGS += -maes else CXXFLAGS += -msse endif