summaryrefslogtreecommitdiff
path: root/mkspecs/common/qcc-base.conf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-09-13 22:17:33 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-21 02:44:22 +0200
commitfff5a8f9c987e5e285b2665c4d0a1c5bbe3e6276 (patch)
treed7db5fc49dd07731a0014a10de2c94f425fc023f /mkspecs/common/qcc-base.conf
parent38832db576b3dbe629f85a6e64431f92ee2f48bc (diff)
downloadqtbase-fff5a8f9c987e5e285b2665c4d0a1c5bbe3e6276.tar.gz
make qmakespecs announce the compiler family
on the way to eliminate scoping based on the spec. gcc and msvc go as such into CONFIG, the other ones get the vendor prefixed, as most are mostly unknown and thus likely to clash with users' flags. Change-Id: Ie622f53d90e96dbf05ce7d8c638cd355f04fa20c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'mkspecs/common/qcc-base.conf')
-rw-r--r--mkspecs/common/qcc-base.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/common/qcc-base.conf b/mkspecs/common/qcc-base.conf
index 42a2d31739..b6abb8f52d 100644
--- a/mkspecs/common/qcc-base.conf
+++ b/mkspecs/common/qcc-base.conf
@@ -9,6 +9,8 @@
# 2) -Wno-psabi is added to silence harmless warnings about va_list mangling
#
+QMAKE_COMPILER = rim_qcc gcc # qcc is mostly gcc in disguise
+
QMAKE_CFLAGS += -Wno-psabi
QMAKE_CFLAGS_DEPS += -M
QMAKE_CFLAGS_WARN_ON += -Wall -W