mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-22 00:59:08 +01:00
use -maes if AES-NI detected
This commit is contained in:
parent
cade0e6afa
commit
8f3414bcb2
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ LIBS =
|
||||||
|
|
||||||
#check if AES-NI is supported by CPU
|
#check if AES-NI is supported by CPU
|
||||||
ifneq ($(shell grep -c aes /proc/cpuinfo),0)
|
ifneq ($(shell grep -c aes /proc/cpuinfo),0)
|
||||||
CPU_FLAGS = -DAESNI
|
CPU_FLAGS = -maes -DAESNI
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: obj i2p
|
all: obj i2p
|
||||||
|
|
Loading…
Add table
Reference in a new issue