[Buildroot] [PATCH 1/2] package/ccache: bump to version 3.2.1

Baruch Siach baruch at tkos.co.il
Sun Apr 26 09:27:55 UTC 2015


Hi Karoly,
On Sun, Apr 26, 2015 at 11:21:01AM +0200, Karoly Kasza wrote:
> @@ -19,7 +19,7 @@ CCACHE_LICENSE_FILES = LICENSE.txt GPL-3.0.txt
>  # to use HOSTCC_NOCCACHE as the compiler. Instead, we take the easy
>  # path: tell ccache to use its internal copy of zlib, so that ccache
>  # has zero dependency besides the C library.
> -HOST_CCACHE_CONF_OPTS += ccache_cv_zlib_1_2_3=no
> +HOST_CCACHE_CONF_OPTS += --with-bundled-zlib
>  
>  # Patch host-ccache as follows:
>  #  - Use BR_CACHE_DIR instead of CCACHE_DIR, because CCACHE_DIR
> @@ -34,11 +34,11 @@ HOST_CCACHE_CONF_OPTS += ccache_cv_zlib_1_2_3=no
>  #    the need to specify BR_CACHE_DIR when invoking ccache directly.
>  define HOST_CCACHE_PATCH_CONFIGURATION
>  	sed -i 's,getenv("CCACHE_DIR"),getenv("BR_CACHE_DIR"),' $(@D)/ccache.c
> -	sed -i 's,getenv("CCACHE_COMPILERCHECK"),"none",' $(@D)/ccache.c
> -	sed -i 's,"%s/.ccache","$(BR_CACHE_DIR)",' $(@D)/ccache.c
> +	sed -i 's,conf->compiler_check = x_strdup("mtime"),conf->compiler_check = x_strdup("none"),' $(@D)/conf.c
> +	sed -i 's,"%s/.ccache","$(BR_CACHE_DIR)",' $(@D)/conf.c
>  endef

You are doing non trivial changes here and above. Please explain in a commit 
log what you are doing, and why this is needed as part of the version bump.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the buildroot mailing list