mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
Makefile.osx: do not use Intel flags on PPC
This commit is contained in:
parent
3154eda6a6
commit
c02c9c3c24
11
Makefile.osx
11
Makefile.osx
|
@ -23,9 +23,12 @@ ifeq ($(USE_UPNP),yes)
|
|||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(USE_AESNI),yes)
|
||||
CXXFLAGS += -maes
|
||||
DEFINES += -D__AES__
|
||||
else
|
||||
OSARCH = $(shell uname -p)
|
||||
|
||||
ifneq ($(OSARCH),powerpc)
|
||||
ifeq ($(USE_AESNI),yes)
|
||||
CXXFLAGS += -D__AES__ -maes
|
||||
else
|
||||
CXXFLAGS += -msse
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue