summaryrefslogtreecommitdiffstats
path: root/mkspecs/macx-icc
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/macx-icc
parent38832db576b3dbe629f85a6e64431f92ee2f48bc (diff)
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/macx-icc')
-rw-r--r--mkspecs/macx-icc/qmake.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/macx-icc/qmake.conf b/mkspecs/macx-icc/qmake.conf
index 6903cc4755..1aa252a0ed 100644
--- a/mkspecs/macx-icc/qmake.conf
+++ b/mkspecs/macx-icc/qmake.conf
@@ -17,6 +17,8 @@ CONFIG += app_bundle
QMAKE_INCREMENTAL_STYLE = sublibs
QMAKE_COMPILER_DEFINES += __APPLE__ __GNUC__
+QMAKE_COMPILER = gcc intel_icc # icc pretends to be gcc
+
QMAKE_CC = icc
QMAKE_CFLAGS = -wd858,1572,1569,279
QMAKE_CFLAGS_DEPS = -M