From e35c9d95f2b1609798529e527282e145b370f505 Mon Sep 17 00:00:00 2001 From: eilers Date: Mon, 20 Dec 2004 16:04:15 +0000 Subject: The "which" command on darwin always returns a string as output, even if nothing was found. Therefore we have to disable this "which" if ccache is not available! --- (limited to 'qmake') diff --git a/qmake/Makefile b/qmake/Makefile index 3045766..1054da4 100644 --- a/qmake/Makefile +++ b/qmake/Makefile @@ -1,7 +1,14 @@ 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 OBJS=project.o property.o main.o makefile.o unixmake2.o unixmake.o msvc_nmake.o \ -- cgit v0.9.0.2