mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-31 00:34:20 +00: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
|
#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…
x
Reference in New Issue
Block a user