[Buildroot] [PATCHv3] package/ccache: do not force colored diagnostics
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Feb 12 13:34:32 UTC 2017
Hello,
On Sun, 12 Feb 2017 14:30:27 +0100, Yann E. MORIN wrote:
> +# Further patch ccache if either the host or target compilers is
compilers -> compiler (I believe, though I'm not an expert in english
grammar)
> +# too old to support colored output diagnostics.
> +ifneq ($(BR2_HOST_GCC_AT_LEAST_4_9)$(BR2_TOOLCHAIN_GCC_AT_LEAST_4_9),yy)
> +define CCACHE_NO_GCC_COLORS
> + sed -i '/if (getenv("GCC_COLORS")/,+3d' $(@D)/ccache.c
Using $(SED) not possible here?
> +endef
> +
> +#HOST_CCACHE_POST_PATCH_HOOKS += CCACHE_NO_GCC_COLORS
Line commented? :-)
Other than that, looks good to me.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list