From: Daylen Yang Date: Sun, 7 Oct 2012 00:56:12 +0000 (-0700) Subject: Improve compatibility with older versions of Mac OS X X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=7e2d49368dcf10ef81086102ae144f155a3c5840 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. --- diff --git a/src/Makefile b/src/Makefile index 8c2c6a70..fc6a4fae 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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