Skip to content

Commit

Permalink
Make macOS arm64 default to target macOS 11 in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
zturtleman committed Dec 18, 2024
1 parent 5a395da commit a15f677
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,12 @@ ifeq ($(PLATFORM),darwin)
# Default minimum Mac OS X version
ifeq ($(MACOSX_VERSION_MIN),)
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

MACOSX_MAJOR=$(shell echo $(MACOSX_VERSION_MIN) | cut -d. -f1)
Expand Down

0 comments on commit a15f677

Please sign in to comment.