gcc: make colors optional based on the GCC_COLORS env var

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47642
This commit is contained in:
Felix Fietkau 2015-11-25 14:12:44 +00:00
parent 3fac6dde85
commit 6638374f5d
1 changed files with 4 additions and 0 deletions

View File

@ -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