summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2012-06-14 07:14:05 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-20 15:45:07 +0200
commitcf7c93b9283d6dded4fd0e57ed771d8470206093 (patch)
tree487141d3d9c8b0139086fd9d74b3e63ed4c704e1
parent1618ef236bc632e3369289ceb672c4a05c48ed35 (diff)
Change *-clang mkspec globs to *-clang*
Like with the numerous g++ mkspecs, we have mkspecs with suffixes, and these mkspecs should still match the clang globs. Change-Id: I9296408b5192bc72cc468d229a57923e3f5ab6f0 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r--src/gui/gui.pro2
-rw-r--r--tests/auto/tools/moc/moc.pro2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui.pro b/src/gui/gui.pro
index 50dc41b8aa..ab4e555f8b 100644
--- a/src/gui/gui.pro
+++ b/src/gui/gui.pro
@@ -35,7 +35,7 @@ win32:!contains(QT_CONFIG, directwrite) {
DEFINES += QT_NO_DIRECTWRITE
}
-*-g++*|linux-icc*|*-clang|*-qcc* {
+*-g++*|linux-icc*|*-clang*|*-qcc* {
sse2 {
sse2_compiler.commands = $$QMAKE_CXX -c $(CXXFLAGS)
sse2_compiler.commands += $$QMAKE_CFLAGS_SSE2
diff --git a/tests/auto/tools/moc/moc.pro b/tests/auto/tools/moc/moc.pro
index 64a7c5674e..981f8ee8f0 100644
--- a/tests/auto/tools/moc/moc.pro
+++ b/tests/auto/tools/moc/moc.pro
@@ -19,7 +19,7 @@ HEADERS += using-namespaces.h no-keywords.h task87883.h c-comments.h backslash-n
escapes-in-string-literals.h cstyle-enums.h qprivateslots.h gadgetwithnoenums.h \
dir-in-include-path.h single_function_keyword.h task192552.h task189996.h \
task234909.h task240368.h pure-virtual-signals.h cxx11-enums.h
-if(*-g++*|*-icc*|*-clang|*-llvm):!irix-*:!win32-*: HEADERS += os9-newlines.h win-newlines.h
+if(*-g++*|*-icc*|*-clang*|*-llvm):!irix-*:!win32-*: HEADERS += os9-newlines.h win-newlines.h
SOURCES += tst_moc.cpp
QT -= gui