From: John Crispin Date: Thu, 17 Jul 2014 20:28:50 +0000 (+0100) Subject: freeswitch: fix build when ccache is enabled X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=de7c6eba1950b42c659d1323da8fa139aefce74c;p=feed%2Ftelephony.git freeswitch: fix build when ccache is enabled Signed-off-by: John Crispin --- diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile index 0a1461c..52f05c4 100644 --- a/net/freeswitch/Makefile +++ b/net/freeswitch/Makefile @@ -224,6 +224,11 @@ PKG_CONFIG_DEPENDS:= \ include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/nls.mk +ifneq ($(CONFIG_CCACHE),) +TARGET_CC=$(TARGET_CC_NOCACHE) +TARGET_CXX=$(TARGET_CXX_NOCACHE) +endif + define Package/$(PKG_NAME)/Default SECTION:=net