mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37:49 +02:00
use builtin __AVX__ and __AES__ macros and reduce code duplication
This commit is contained in:
parent
fc16e76af1
commit
dec848f072
9 changed files with 104 additions and 149 deletions
|
@ -37,7 +37,7 @@ endif
|
|||
|
||||
# don't change following line to ifeq ($(USE_AESNI),yes) !!!
|
||||
ifeq ($(USE_AESNI),1)
|
||||
CPU_FLAGS += -maes -DAESNI
|
||||
CPU_FLAGS += -maes
|
||||
else
|
||||
CPU_FLAGS += -msse
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue