mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
use -maes if AES-NI detected
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user