Makefile.osx: do not use Intel flags on PPC

This commit is contained in:
Sergey Fedorov 2023-03-05 23:50:03 +08:00 committed by R4SAS
parent 3154eda6a6
commit c02c9c3c24

View File

@ -23,9 +23,12 @@ ifeq ($(USE_UPNP),yes)
endif
endif
ifeq ($(USE_AESNI),yes)
CXXFLAGS += -maes
DEFINES += -D__AES__
else
CXXFLAGS += -msse
OSARCH = $(shell uname -p)
ifneq ($(OSARCH),powerpc)
ifeq ($(USE_AESNI),yes)
CXXFLAGS += -D__AES__ -maes
else
CXXFLAGS += -msse
endif
endif