Skip to content

Commit

Permalink
Makefile.osx: do not use Intel flags on PPC
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 authored and r4sas committed Mar 5, 2023
1 parent 3154eda commit c02c9c3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Makefile.osx
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c02c9c3

Please sign in to comment.