1#
2# Qmake configuration for the GNU C++ compiler on 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
11include(g++-base.conf)
12
13QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -gdwarf-2
14QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += -gdwarf-2
15QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO += -g -gdwarf-2
16
17QMAKE_XCODE_GCC_VERSION = com.apple.compilers.llvmgcc42
18
19QMAKE_OBJCFLAGS_PRECOMPILE       = -x objective-c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
20QMAKE_OBJCFLAGS_USE_PRECOMPILE   = $$QMAKE_CFLAGS_USE_PRECOMPILE
21QMAKE_OBJCXXFLAGS_PRECOMPILE     = -x objective-c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
22QMAKE_OBJCXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
23