use -maes if AES-NI detected

This commit is contained in:
orignal 2014-09-13 14:36:36 -04:00
parent cade0e6afa
commit 8f3414bcb2

View file

@ -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