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
endif endif
OSARCH = $(shell uname -p)
ifneq ($(OSARCH),powerpc)
ifeq ($(USE_AESNI),yes) ifeq ($(USE_AESNI),yes)
CXXFLAGS += -maes CXXFLAGS += -D__AES__ -maes
DEFINES += -D__AES__
else else
CXXFLAGS += -msse CXXFLAGS += -msse
endif endif
endif