summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--qmake/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/qmake/Makefile b/qmake/Makefile
index 3045766..1054da4 100644
--- a/qmake/Makefile
+++ b/qmake/Makefile
@@ -1,6 +1,13 @@
QMAKESPECSDIR=$(OPIEDIR)/mkspecs
+include ../.config
+
+ifeq ($(strip $(CONFIG_USE_CCACHE)),y)
CC = $(shell which ccache) gcc
CXX = $(shell which ccache) g++
+else
+CC = gcc
+CXX = g++
+endif
#qmake code