mirror of https://github.com/ioquake/ioq3.git
Make macOS arm64 default to target macOS 11 in Makefile
This commit is contained in:
parent
e611fb50b8
commit
7dd90123b7
6
Makefile
6
Makefile
|
@ -445,6 +445,12 @@ ifeq ($(PLATFORM),darwin)
|
||||||
# Default minimum Mac OS X version
|
# Default minimum Mac OS X version
|
||||||
ifeq ($(MACOSX_VERSION_MIN),)
|
ifeq ($(MACOSX_VERSION_MIN),)
|
||||||
MACOSX_VERSION_MIN=10.7
|
MACOSX_VERSION_MIN=10.7
|
||||||
|
ifneq ($(findstring $(ARCH),ppc ppc64),)
|
||||||
|
MACOSX_VERSION_MIN=10.5
|
||||||
|
endif
|
||||||
|
ifeq ($(ARCH),arm64)
|
||||||
|
MACOSX_VERSION_MIN=11.0
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
MACOSX_MAJOR=$(shell echo $(MACOSX_VERSION_MIN) | cut -d. -f1)
|
MACOSX_MAJOR=$(shell echo $(MACOSX_VERSION_MIN) | cut -d. -f1)
|
||||||
|
|
Loading…
Reference in New Issue