summaryrefslogtreecommitdiffstats
path: root/mkspecs/unsupported/macx-clang
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@nokia.com>2010-10-27 11:44:11 (GMT)
committerTor Arne Vestbø <tor.arne.vestbo@nokia.com>2010-10-27 13:11:08 (GMT)
commit48d19919cc82f637ee96873f81c957cdf9b84127 (patch)
tree7002cbcba4efe80acf9b4f0b6bb5cffa8f8f97e9 /mkspecs/unsupported/macx-clang
parent2925995de32f76a72fcdd7d577e609a68a517fa1 (diff)
downloadQt-48d19919cc82f637ee96873f81c957cdf9b84127.zip
Qt-48d19919cc82f637ee96873f81c957cdf9b84127.tar.gz
Qt-48d19919cc82f637ee96873f81c957cdf9b84127.tar.bz2
mkspecs: Emit warning when including g++.conf directly
86636e0c4ab91bfb6 refactored the mkspecs, but didn't account for people with their own mkspec who would still include g++.conf directly. We now print a warning if this situation is detected, and explain to the user how they can fix their mkspec. For convenience we redirect g++.conf to g++-unix.conf so that people's mkspecs will still work. Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Diffstat (limited to 'mkspecs/unsupported/macx-clang')
-rw-r--r--mkspecs/unsupported/macx-clang/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/unsupported/macx-clang/qmake.conf b/mkspecs/unsupported/macx-clang/qmake.conf
index 17892e8..aaabf27 100644
--- a/mkspecs/unsupported/macx-clang/qmake.conf
+++ b/mkspecs/unsupported/macx-clang/qmake.conf
@@ -11,7 +11,7 @@ QMAKE_INCREMENTAL_STYLE = sublib
include(../../common/mac.conf)
include(../../common/clang.conf)
-include(../../common/gcc-base-mac.conf)
+include(../../common/gcc-base-macx.conf)
QMAKE_OBJCFLAGS_PRECOMPILE = -x objective-c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
QMAKE_OBJCFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE