summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt
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 /rbutil/rbutilqt
parentbdb00fa1fb6ec88b229cc536d067c0ab5ffeb12b (diff)
downloadrockbox-8bdecac0b011e81b7b429cee8a63cc37a6c414d4.tar.gz
rockbox-8bdecac0b011e81b7b429cee8a63cc37a6c414d4.tar.bz2
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
Diffstat (limited to 'rbutil/rbutilqt')
-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 @@
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
# \/ \/ \/ \/ \/
-# $Id$
#
# All files in this archive are subject to the GNU General Public License.
# See the file COPYING in the source tree root for full license agreement.
@@ -19,8 +18,8 @@ unix:!mac:!noccache {
CCACHE = $$system(which ccache)
!isEmpty(CCACHE) {
message("using ccache")
- QMAKE_CXX = ccache g++
- QMAKE_CC = ccache gcc
+ QMAKE_CXX = ccache $$QMAKE_CXX
+ QMAKE_CC = ccache $$QMAKE_CC
}
}