From 55af4ed385ce0e5d2242f6ca8ae72439b8722665 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Fri, 29 Jun 2018 02:30:03 +0300 Subject: [PATCH] delete old AESNI definition --- Makefile.homebrew | 2 +- Makefile.linux | 2 +- Makefile.mingw | 2 +- Makefile.osx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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