From 8f3414bcb22314a25f26e78ee0776f9d744ba219 Mon Sep 17 00:00:00 2001 From: orignal Date: Sat, 13 Sep 2014 14:36:36 -0400 Subject: [PATCH] use -maes if AES-NI detected --- Makefile.linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.linux b/Makefile.linux index 0d5feb37..6a0405c9 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -8,7 +8,7 @@ LIBS = #check if AES-NI is supported by CPU ifneq ($(shell grep -c aes /proc/cpuinfo),0) - CPU_FLAGS = -DAESNI + CPU_FLAGS = -maes -DAESNI endif all: obj i2p