Makefile.osx: do not use Intel flags on PPC

pull/1902/head
Sergey Fedorov 1 year ago committed by R4SAS
parent 3154eda6a6
commit c02c9c3c24

@ -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

Loading…
Cancel
Save