From: John Crispin Date: Mon, 20 Oct 2014 11:19:53 +0000 (+0000) Subject: openssl: host build fails when ccache is enabled X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b52651a66ea7ef40f121d748126ef35c2f6e789c;p=openwrt%2Fstaging%2Fyousong.git openssl: host build fails when ccache is enabled Signed-off-by: John Crispin SVN-Revision: 43002 --- diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index 8ffd7f5fed..b51808bb26 100644 --- a/package/libs/openssl/Makefile +++ b/package/libs/openssl/Makefile @@ -28,6 +28,11 @@ PKG_CONFIG_DEPENDS:=CONFIG_OPENSSL_ENGINE_CRYPTO CONFIG_OPENSSL_ENGINE_DIGEST \ include $(INCLUDE_DIR)/package.mk +ifneq ($(CONFIG_CCACHE),) +HOSTCC=$(HOSTCC_NOCACHE) +HOSTCXX=$(HOSTCXX_NOCACHE) +endif + define Package/openssl/Default TITLE:=Open source SSL toolkit URL:=http://www.openssl.org/