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