forked from len0rd/rockbox
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
This commit is contained in:
parent
bdb00fa1fb
commit
8bdecac0b0
1 changed files with 2 additions and 3 deletions
|
|
@ -5,7 +5,6 @@
|
||||||
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
# \/ \/ \/ \/ \/
|
# \/ \/ \/ \/ \/
|
||||||
# $Id$
|
|
||||||
#
|
#
|
||||||
# All files in this archive are subject to the GNU General Public License.
|
# 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.
|
# See the file COPYING in the source tree root for full license agreement.
|
||||||
|
|
@ -19,8 +18,8 @@ unix:!mac:!noccache {
|
||||||
CCACHE = $$system(which ccache)
|
CCACHE = $$system(which ccache)
|
||||||
!isEmpty(CCACHE) {
|
!isEmpty(CCACHE) {
|
||||||
message("using ccache")
|
message("using ccache")
|
||||||
QMAKE_CXX = ccache g++
|
QMAKE_CXX = ccache $$QMAKE_CXX
|
||||||
QMAKE_CC = ccache gcc
|
QMAKE_CC = ccache $$QMAKE_CC
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue