aboutsummaryrefslogtreecommitdiffstats
path: root/package
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 /package
parentd5b734e14579eafa39829c007bbbd4a61692e68a (diff)
downloadupstream-b52651a66ea7ef40f121d748126ef35c2f6e789c.tar.gz
upstream-b52651a66ea7ef40f121d748126ef35c2f6e789c.tar.bz2
upstream-b52651a66ea7ef40f121d748126ef35c2f6e789c.zip
openssl: host build fails when ccache is enabled
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43002
Diffstat (limited to 'package')
-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 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/