chiark / gitweb /
build: colorize gcc only if on tty
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 15 Aug 2014 14:33:03 +0000 (16:33 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Mon, 15 Sep 2014 14:08:50 +0000 (16:08 +0200)
Rather than forcing gcc to always produce colorized error messages
whether on tty or not, enable automatic colorization by ensuring
GCC_COLORS is set to a non-empty string.

Doing it this way removes the need for workarounds in ~/.emacs or
~/.vimrc for "M-x compile" or ":make", respectively, to work.


No differences found