From 8bdecac0b011e81b7b429cee8a63cc37a6c414d4 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sat, 28 Apr 2012 16:40:35 +0200 Subject: 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 --- rbutil/rbutilqt/rbutilqt.pro | 5 ++--- 1 file 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 } } -- cgit v1.2.3