From 7e2d49368dcf10ef81086102ae144f155a3c5840 Mon Sep 17 00:00:00 2001 From: Daylen Yang Date: Sat, 6 Oct 2012 17:56:12 -0700 Subject: [PATCH] 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. --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2