From 6cff741ebaf7123739398686ace186ed9974e71c Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Tue, 14 Feb 2017 18:24:32 +0100 Subject: 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 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index dcda8fe02..4db971b0c 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) -- cgit v1.2.3