From: Dmitry Eremin-Solenikov Date: Mon, 19 Oct 2015 14:19:15 +0000 (+0300) Subject: apr: remove conflict with ccache X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~28579 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3533552050d0f91b669c6939755c5f6efefa9d58;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git apr: remove conflict with ccache If ccache is enabled, compiling apr-utils fails with the following error messages because libtool is confused by the "ccache gcc" appearing on the command line. Disable ccache for apr, so that ccache don't get enabled in all software using apr's rules.mk. The error message from apr-utils-native: Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Ross Burton --- diff --git a/meta/recipes-support/apr/apr_1.5.2.bb b/meta/recipes-support/apr/apr_1.5.2.bb index e12a17625ff..1c61e84e536 100644 --- a/meta/recipes-support/apr/apr_1.5.2.bb +++ b/meta/recipes-support/apr/apr_1.5.2.bb @@ -32,6 +32,11 @@ CACHED_CONFIGUREVARS += "apr_cv_mutex_recursive=yes" # CACHED_CONFIGUREVARS += "ac_cv_header_netinet_sctp_h=no ac_cv_header_netinet_sctp_uio_h=no" +# Otherwise libtool fails to compile apr-utils +# x86_64-linux-libtool: compile: unable to infer tagged configuration +# x86_64-linux-libtool: error: specify a tag with '--tag' +CCACHE = "" + do_configure_prepend() { # Avoid absolute paths for grep since it causes failures # when using sstate between different hosts with different