Ticket #36332: g++-base.conf

File g++-base.conf, 970 bytes (added by ben@…, 12 years ago)

/opt/macports/share/qt4/mkspecs/common/g++-base.conf

Line 
1#
2# Qmake configuration for the GNU C++ compiler
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
11QMAKE_CC = /usr/bin/clang
12
13QMAKE_LINK_C       = $$QMAKE_CC
14QMAKE_LINK_C_SHLIB = $$QMAKE_CC
15
16QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -g
17
18QMAKE_CXX = /usr/bin/clang++
19
20QMAKE_LINK       = $$QMAKE_CXX
21QMAKE_LINK_SHLIB = $$QMAKE_CXX
22
23QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
24
25QMAKE_PCH_OUTPUT_EXT = .gch
26
27QMAKE_CFLAGS_PRECOMPILE       = -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
28QMAKE_CFLAGS_USE_PRECOMPILE   = -include ${QMAKE_PCH_OUTPUT_BASE}
29QMAKE_CXXFLAGS_PRECOMPILE     = -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
30QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE