]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Improve compatibility with older versions of Mac OS X
[stockfish] / src / Makefile
index 8c2c6a7028392642c5156cd92ee4329c72b4b899..fc6a4fae3fb81254460882a0d0b5e4709676b41e 100644 (file)
@@ -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