From: Yann E. MORIN Date: Tue, 14 Feb 2017 17:24:32 +0000 (+0100) Subject: package/ccache: do not force colored diagnostics X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6cff741ebaf7123739398686ace186ed9974e71c;p=buildroot.git package/ccache: do not force colored diagnostics When GCC_COLORS is set, ccache passes '-fdiagnostics-color' to GCC but this flag requires GCC v4.9 or later. Older versions complain about the unrecognized command line option. Using GCC_COLORS in the context of Buildroot is seldom useful, so we just unexport GCC_COLORS altogether. Reported-by: Carlos Santos Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Cc: Arnout Vandecappelle Signed-off-by: Peter Korsgaard --- diff --git a/Makefile b/Makefile index dcda8fe024..4db971b0cd 100644 --- a/Makefile +++ b/Makefile @@ -402,6 +402,7 @@ unexport QMAKESPEC unexport TERMINFO unexport MACHINE unexport O +unexport GCC_COLORS GNU_HOST_NAME := $(shell support/gnuconfig/config.guess)