mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
use -maes if AES-NI detected
This commit is contained in:
parent
cade0e6afa
commit
8f3414bcb2
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue