From: Felix Fietkau Date: Wed, 25 Nov 2015 14:12:44 +0000 (+0000) Subject: gcc: make colors optional based on the GCC_COLORS env var X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6638374f5d3f70a9b82545161bc523fdc6808a34;p=openwrt%2Fstaging%2Frmilecki.git gcc: make colors optional based on the GCC_COLORS env var Signed-off-by: Felix Fietkau SVN-Revision: 47642 --- diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk index 0ac7de19f5c..3e4f3ee984f 100644 --- a/toolchain/gcc/common.mk +++ b/toolchain/gcc/common.mk @@ -151,6 +151,10 @@ ifneq ($(CONFIG_mips)$(CONFIG_mipsel),) GCC_CONFIGURE += --with-mips-plt endif +ifndef GCC_VERSION_4_8 + GCC_CONFIGURE += --with-diagnostics-color=auto-if-env +endif + ifneq ($(CONFIG_SSP_SUPPORT),) GCC_CONFIGURE+= \ --enable-libssp