Browse Source

use -maes if AES-NI detected

pull/97/head
orignal 10 years ago
parent
commit
8f3414bcb2
  1. 2
      Makefile.linux

2
Makefile.linux

@ -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…
Cancel
Save