summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-04-28 16:40:35 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-04-28 16:49:09 +0200
commit8bdecac0b011e81b7b429cee8a63cc37a6c414d4 (patch)
treeeaaa76b7a1ef7e8fe376bba1acc66b031fe41d5e
parentbdb00fa1fb6ec88b229cc536d067c0ab5ffeb12b (diff)
downloadrockbox-8bdecac0b011e81b7b429cee8a63cc37a6c414d4.tar.gz
rockbox-8bdecac0b011e81b7b429cee8a63cc37a6c414d4.zip
Don't assume the compiler to be gcc / g++.
When setting up qmake to use ccache keep using the compiler as defined in the qmakespec instead of assuming it always to be gcc / g++. Change-Id: I00ce32158ca4a5d67517347cae2e86b77051b3c9
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro5
1 files changed, 2 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index 366cc486e0..7ba1f63fb9 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -5,7 +5,6 @@
5# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < 5# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ 6# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7# \/ \/ \/ \/ \/ 7# \/ \/ \/ \/ \/
8# $Id$
9# 8#
10# All files in this archive are subject to the GNU General Public License. 9# All files in this archive are subject to the GNU General Public License.
11# See the file COPYING in the source tree root for full license agreement. 10# See the file COPYING in the source tree root for full license agreement.
@@ -19,8 +18,8 @@ unix:!mac:!noccache {
19 CCACHE = $$system(which ccache) 18 CCACHE = $$system(which ccache)
20 !isEmpty(CCACHE) { 19 !isEmpty(CCACHE) {
21 message("using ccache") 20 message("using ccache")
22 QMAKE_CXX = ccache g++ 21 QMAKE_CXX = ccache $$QMAKE_CXX
23 QMAKE_CC = ccache gcc 22 QMAKE_CC = ccache $$QMAKE_CC
24 } 23 }
25} 24}
26 25