[Buildroot] [PATCH] infra/ccache: avoid color diagnostics with GCC older than v4.9

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Feb 12 13:10:54 UTC 2017


Hello,

On Sun, 12 Feb 2017 14:08:03 +0100, Yann E. MORIN wrote:

> But we do a single build of ccache which gets used for both the target
> and host compiler. So if we patch ccache, we have to do if any of them
> if older than 4.9.
> 
> Which is not impossible, by far, but means that an older host gcc will
> disable colouring of the target gcc output, and vice-versa.

Correct, but it still seems better than failing completely.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list