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.lede-project.org./?a=commitdiff_plain;h=22b9ce35bca8136ed7d8b1b18d10e71902809803;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