summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-02-14 18:24:32 +0100
committerPeter Korsgaard <peter@korsgaard.com>2017-02-14 20:55:00 +0100
commit6cff741ebaf7123739398686ace186ed9974e71c (patch)
treee5a27d708169f80c19d2337dc522e99c34769ac5
parent82a935ae493b8159062c9c32b328c30ee130c5a8 (diff)
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 <casantos@datacom.ind.br> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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)