2 # Qmake configuration for the GNU C++ compiler on Mac OS X
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.
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.
11 include(g++-base.conf)
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
17 QMAKE_LFLAGS_STATIC_LIB += -all_load
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