From bc9b9287a4aaa066970b75858c27b86ef0a4d810 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 2 Jan 2014 22:35:44 -0800 Subject: [PATCH] Allow us to build for older versions of Mac OSX than we are running This requires some serious hacking around with brew to get the libraries and frameworks that we use to also be able to run on 10.5, but this is the part that's needed in the Subsurface configuration. Signed-off-by: Dirk Hohndel --- subsurface-configure.pri | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subsurface-configure.pri b/subsurface-configure.pri index 2a369da2b..af9003516 100644 --- a/subsurface-configure.pri +++ b/subsurface-configure.pri @@ -26,6 +26,8 @@ *-g++*: QMAKE_CXXFLAGS += -Wno-maybe-uninitialized *-g++*: QMAKE_CFLAGS += -Wno-maybe-uninitialized } +mac: QMAKE_CLAGS += -mmacosx-version-min=10.5 +mac: QMAKE_CXXLAGS += -mmacosx-version-min=10.5 !win32-msvc*: QMAKE_CFLAGS += -std=gnu99