From 9aa9a62ed412da88c384a178e180bd7d1e59346c Mon Sep 17 00:00:00 2001 From: orignal Date: Sat, 25 Mar 2017 08:16:56 -0400 Subject: [PATCH] AESNI for x86 --- Makefile.linux | 3 --- 1 file changed, 3 deletions(-) diff --git a/Makefile.linux b/Makefile.linux index af23f955..c4d78447 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -55,15 +55,12 @@ else endif endif -IS_64 := $(shell $(CXX) -dumpmachine 2>&1 | $(GREP) -c "64") ifeq ($(USE_AESNI),yes) -ifeq ($(IS_64),1) #check if AES-NI is supported by CPU ifneq ($(shell $(GREP) -c aes /proc/cpuinfo),0) CPU_FLAGS += -maes -DAESNI endif endif -endif ifeq ($(USE_AVX),yes) #check if AVX supported by CPU