Author: nbd
Date: 2015-11-25 15:12:44 +0100 (Wed, 25 Nov 2015)
New Revision: 47642

Modified:
   trunk/toolchain/gcc/common.mk
Log:
gcc: make colors optional based on the GCC_COLORS env var

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/toolchain/gcc/common.mk
===================================================================
--- trunk/toolchain/gcc/common.mk       2015-11-25 11:53:59 UTC (rev 47641)
+++ trunk/toolchain/gcc/common.mk       2015-11-25 14:12:44 UTC (rev 47642)
@@ -151,6 +151,10 @@
   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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to