mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
use AES-NI on osx by default
This commit is contained in:
parent
1adaa50c65
commit
7b23815a26
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ endif
|
|||
# Seems like all recent Mac's have AES-NI, after firmware upgrade 2.2
|
||||
# Found no good way to detect it from command line. TODO: Might be some osx sysinfo magic
|
||||
ifeq ($(USE_AESNI),yes)
|
||||
CXXFLAGS += -D__AES__
|
||||
CXXFLAGS += -D__AES__ -maes
|
||||
endif
|
||||
|
||||
install: all
|
||||
|
|
|
@ -23,7 +23,7 @@ ifeq ($(USE_UPNP),yes)
|
|||
endif
|
||||
|
||||
ifeq ($(USE_AESNI),yes)
|
||||
CXXFLAGS += -D__AES__
|
||||
CXXFLAGS += -D__AES__ -maes
|
||||
else
|
||||
CXXFLAGS += -msse
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue