summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-10-20 11:19:53 +0000
committerJohn Crispin <john@openwrt.org>2014-10-20 11:19:53 +0000
commitb52651a66ea7ef40f121d748126ef35c2f6e789c (patch)
tree4665863c63ebdb6497fe9cb471da0a874fd638d1
parentd5b734e14579eafa39829c007bbbd4a61692e68a (diff)
downloadmtk-20170518-b52651a66ea7ef40f121d748126ef35c2f6e789c.zip
mtk-20170518-b52651a66ea7ef40f121d748126ef35c2f6e789c.tar.gz
mtk-20170518-b52651a66ea7ef40f121d748126ef35c2f6e789c.tar.bz2
openssl: host build fails when ccache is enabled
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43002
-rw-r--r--package/libs/openssl/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile
index 8ffd7f5..b51808b 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/