summaryrefslogtreecommitdiff
path: root/qmake
authorclem <clem>2004-10-14 14:45:51 (UTC)
committer clem <clem>2004-10-14 14:45:51 (UTC)
commitc1527ffba858ba88dc349edea26347eca37ccef4 (patch) (side-by-side diff)
treeb1eda5042f37ac822fda0053e0cdac4b4cb91cb8 /qmake
parentc4455769d3d0b6409e2f676e9e3769ed93d1772e (diff)
downloadopie-c1527ffba858ba88dc349edea26347eca37ccef4.zip
opie-c1527ffba858ba88dc349edea26347eca37ccef4.tar.gz
opie-c1527ffba858ba88dc349edea26347eca37ccef4.tar.bz2
enable ccache (and distcc if CCACHE_PREFIX and DISTCC_HOSTS are set) building
Diffstat (limited to 'qmake') (more/less context) (ignore whitespace changes)
-rw-r--r--qmake/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake/Makefile b/qmake/Makefile
index 5a72210..3045766 100644
--- a/qmake/Makefile
+++ b/qmake/Makefile
@@ -1,7 +1,7 @@
QMAKESPECSDIR=$(OPIEDIR)/mkspecs
-CC = gcc
-CXX = g++
+CC = $(shell which ccache) gcc
+CXX = $(shell which ccache) g++
#qmake code
OBJS=project.o property.o main.o makefile.o unixmake2.o unixmake.o msvc_nmake.o \