Skip to content

Commit

Permalink
Unix|qmake: Using ccache with gcc
Browse files Browse the repository at this point in the history
The previous options were only suitable for clang.
  • Loading branch information
skyjake committed Nov 21, 2013
1 parent 9d374c7 commit 3a9bb66
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions doomsday/config.pri
Expand Up @@ -149,9 +149,15 @@ else:macx: include(config_macx.pri)

unix:deng_ccache {
# ccache can be used to speed up recompilation.
QMAKE_CC = ccache $$QMAKE_CC -Qunused-arguments
QMAKE_CXX = ccache $$QMAKE_CXX -Qunused-arguments
QMAKE_CXXFLAGS_WARN_ON += -Wno-self-assign
*-clang* {
QMAKE_CC = ccache $$QMAKE_CC -Qunused-arguments
QMAKE_CXX = ccache $$QMAKE_CXX -Qunused-arguments
QMAKE_CXXFLAGS_WARN_ON += -Wno-self-assign
}
*-gcc*|*-g++* {
QMAKE_CC = ccache $$QMAKE_CC
QMAKE_CXX = ccache $$QMAKE_CXX
}
}

deng_nofixedasm {
Expand Down

0 comments on commit 3a9bb66

Please sign in to comment.