mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-25 19:46:55 +08:00
Improve compatibility with older versions of Mac OS X
Use the -mmacosx-version-min flag to support older versions of Mac OS X (like version 10.6 and 10.7) when compiled on a machine running version 10.8.
This commit is contained in:
@@ -231,7 +231,7 @@ ifeq ($(comp),clang)
|
||||
endif
|
||||
|
||||
ifeq ($(os),osx)
|
||||
CXXFLAGS += -arch $(arch)
|
||||
CXXFLAGS += -arch $(arch) -mmacosx-version-min=10.6
|
||||
endif
|
||||
|
||||
### 3.3 General linker settings
|
||||
@@ -246,7 +246,7 @@ ifneq ($(comp),mingw)
|
||||
endif
|
||||
|
||||
ifeq ($(os),osx)
|
||||
LDFLAGS += -arch $(arch)
|
||||
LDFLAGS += -arch $(arch) -mmacosx-version-min=10.6
|
||||
endif
|
||||
|
||||
### 3.4 Debugging
|
||||
|
||||
Reference in New Issue
Block a user