mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00: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:
+2
-2
@@ -231,7 +231,7 @@ ifeq ($(comp),clang)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(os),osx)
|
ifeq ($(os),osx)
|
||||||
CXXFLAGS += -arch $(arch)
|
CXXFLAGS += -arch $(arch) -mmacosx-version-min=10.6
|
||||||
endif
|
endif
|
||||||
|
|
||||||
### 3.3 General linker settings
|
### 3.3 General linker settings
|
||||||
@@ -246,7 +246,7 @@ ifneq ($(comp),mingw)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(os),osx)
|
ifeq ($(os),osx)
|
||||||
LDFLAGS += -arch $(arch)
|
LDFLAGS += -arch $(arch) -mmacosx-version-min=10.6
|
||||||
endif
|
endif
|
||||||
|
|
||||||
### 3.4 Debugging
|
### 3.4 Debugging
|
||||||
|
|||||||
Reference in New Issue
Block a user