mirror of https://github.com/snes9xgit/snes9x.git
Fix compiling on Mac OS Mojave
This commit is contained in:
parent
96818d6f3e
commit
6a4af792da
|
@ -89,9 +89,12 @@ else ifeq ($(platform), osx)
|
|||
ifeq ($(arch),ppc)
|
||||
CXXFLAGS += -DBLARGG_BIG_ENDIAN=1 -D__ppc__
|
||||
endif
|
||||
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
|
||||
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
|
||||
fpic += -mmacosx-version-min=10.1
|
||||
OSXVER = $(shell sw_vers -productVersion | cut -d. -f 2)
|
||||
OSX_GT_MOJAVE = $(shell (( $(OSXVER) >= 14)) && echo "YES")
|
||||
ifneq ($(OSX_GT_MOJAVE),YES)
|
||||
#this breaks compiling on Mac OS Mojave
|
||||
fpic += -mmacosx-version-min=10.1
|
||||
endif
|
||||
|
||||
# Nintendo Switch (libnx)
|
||||
else ifeq ($(platform), libnx)
|
||||
|
|
Loading…
Reference in New Issue