Use CCACHE if available on non-riscos host platforms

svn path=/trunk/netsurf/; revision=4179
This commit is contained in:
Daniel Silverstone 2008-05-19 13:36:32 +00:00
parent 181573d081
commit b30fde8b21
1 changed files with 7 additions and 0 deletions

View File

@ -106,6 +106,13 @@ LDFLAGS := -Xlinker -symbols=$(OBJROOT)/sym -lxml2 -lz -lm -lcurl -lssl -lcrypto
else
LDFLAGS := $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl openssl)
LDFLAGS += -lz -lm -lmng -ljpeg
CCACHE := $(shell which ccache)
ifneq ($(CCACHE),)
CC := $(CCACHE) $(CC)
endif
endif
ifeq ($(TARGET),gtk)