mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Specify -mmacosx-version-min when compiling from commandline - set
the right level based on architecture and/or whether HAVE_METAL is defined
This commit is contained in:
parent
dad7f372bf
commit
ef4d9b88bf
@ -130,6 +130,17 @@ endif
|
||||
ifneq ($(findstring Darwin,$(OS)),)
|
||||
OSX := 1
|
||||
LIBS += -framework AppKit
|
||||
ifeq ($(shell uname -p),arm)
|
||||
DEF_FLAGS += -mmacosx-version-min=10.14 # macOS (Metal, ARM 64bit)
|
||||
else ifeq ($(HAVE_METAL),1)
|
||||
DEF_FLAGS += -mmacosx-version-min=10.13 # macOS (Metal, x86 64bit)
|
||||
else ifeq ($(shell uname -p),powerpc)
|
||||
DEF_FLAGS += -mmacosx-version-min=10.5 # macOSX (PowerPC 32-bit)
|
||||
else ifeq ($(shell uname -m),i386)
|
||||
DEF_FLAGS += -mmacosx-version-min=10.6 # macOSX (OpenGL, x86 32bit)
|
||||
else
|
||||
DEF_FLAGS += -mmacosx-version-min=10.7 # macOSX (OpenGL, x86 64bit)
|
||||
endif
|
||||
else
|
||||
OSX := 0
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user