Update spec to build Qt 5.0
[profile/ivi/qtbase.git] / mkspecs / common / g++-macx.conf
1 #
2 # Qmake configuration for the GNU C++ compiler on Mac OS X
3 #
4 # Before making changes to this file, please read the comment in
5 # gcc-base.conf, to make sure the change goes in the right place.
6 #
7 # To verify that your change has the desired effect on the final configuration
8 # you can use the manual test in tests/manual/mkspecs.
9 #
10
11 include(g++-base.conf)
12
13 QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -gdwarf-2
14 QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += -gdwarf-2
15 QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO += -g -gdwarf-2
16
17 QMAKE_LFLAGS_STATIC_LIB += -all_load
18
19 QMAKE_OBJCFLAGS_PRECOMPILE       = -x objective-c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
20 QMAKE_OBJCFLAGS_USE_PRECOMPILE   = $$QMAKE_CFLAGS_USE_PRECOMPILE
21 QMAKE_OBJCXXFLAGS_PRECOMPILE     = -x objective-c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
22 QMAKE_OBJCXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE