[Buildroot] [PATCH 1/2] ccache: Force ccache to use its internal zlib.

Peter Korsgaard jacmet at uclibc.org
Thu Mar 8 21:57:04 UTC 2012


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 Thomas> The problem is that without this, ccache would link against the zlib
 Thomas> of the build system, but we might build and install a different
 Thomas> version of zlib in $(O)/host afterwards, which ccache will pick
 Thomas> up. This might break if there is a version mismatch. A solution would
 Thomas> be to add host-zlib has a dependency of ccache, but it would require
 Thomas> tuning the zlib .mk file to use HOSTCC_NOCCACHE as the
 Thomas> compiler. Instead, we take the easy path: tell ccache to use its
 Thomas> internal copy of zlib, so that ccache has zero dependency besides the
 Thomas> C library.

Committed, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list