From 058c79e407f22754d5f9b2eeb9c6e19ba40126a3 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 20 Oct 2014 11:19:53 +0000 Subject: openssl: host build fails when ccache is enabled Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43002 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/libs/openssl/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package/libs/openssl/Makefile') 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/ -- cgit v1.2.3