summaryrefslogtreecommitdiffstats
path: root/mkspecs/devices/linux-sh4-stmicro-ST7108-g++
diff options
context:
space:
mode:
authorDonald Carr <donald.carr@nokia.com>2012-05-11 22:46:54 +0000
committerQt by Nokia <qt-info@nokia.com>2012-05-15 04:56:59 +0200
commit1da0db344a6a0332c0284713d3ff645025c617f3 (patch)
treee1f0ed6fdeea8c66057e37f8fee314e830867f79 /mkspecs/devices/linux-sh4-stmicro-ST7108-g++
parent87362f3f58056e29563936102b29070f3e7e945a (diff)
device: don't set a default cross compile prefix
qmake -set can be used instead to set a the default cross compile. device_config.prf already contains code to read this default. Remove per-spec CROSS_COMPILE checks Introduce deviceSanityCheckCompiler() usage where appropriate Done-with: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> Change-Id: I07c75c9e933dc1174a1bf8bf523b6b4a6b427408 Reviewed-by: Romain Pokrzywka <romain.pokrzywka@kdab.com> Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Diffstat (limited to 'mkspecs/devices/linux-sh4-stmicro-ST7108-g++')
-rw-r--r--mkspecs/devices/linux-sh4-stmicro-ST7108-g++/qmake.conf2
1 files changed, 0 insertions, 2 deletions
diff --git a/mkspecs/devices/linux-sh4-stmicro-ST7108-g++/qmake.conf b/mkspecs/devices/linux-sh4-stmicro-ST7108-g++/qmake.conf
index 52c15982c3..a6fe340781 100644
--- a/mkspecs/devices/linux-sh4-stmicro-ST7108-g++/qmake.conf
+++ b/mkspecs/devices/linux-sh4-stmicro-ST7108-g++/qmake.conf
@@ -17,8 +17,6 @@ include(../../common/g++-unix.conf)
load(device_config)
-isEmpty(CROSS_COMPILE): error("CROSS_COMPILE needs to be set via -device-option CROSS_COMPILE=<path>")
-
QMAKE_CC = $${CROSS_COMPILE}gcc
QMAKE_CXX = $${CROSS_COMPILE}g++
QMAKE_LINK = $${QMAKE_CXX}