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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-01-02 22:35:44 -08:00
parent 4cce5df7e2
commit bc9b9287a4

View file

@ -26,6 +26,8 @@
*-g++*: QMAKE_CXXFLAGS += -Wno-maybe-uninitialized *-g++*: QMAKE_CXXFLAGS += -Wno-maybe-uninitialized
*-g++*: QMAKE_CFLAGS += -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 !win32-msvc*: QMAKE_CFLAGS += -std=gnu99