From cd3069559a09b4e4f85a6f02aa8f0521f48359ca Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 12 Jul 2013 01:15:52 +0200 Subject: [PATCH] build-sys: don't enable color gcc on dumb terminals Guys, we know that emacs is the best editor on earth, but unfortunately its "M-x compile" terminal cannot do colors (well, it does its own highlighting of the output anyway), and it will inform the programs it calls about this with TERM=dumb, and gcc should check for that. But you guys turned that off. Not cool. Let's turn it on again. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1e196f730..802009efc 100644 --- a/configure.ac +++ b/configure.ac @@ -133,7 +133,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\ -ffast-math \ -fno-common \ -fdiagnostics-show-option \ - -fdiagnostics-color \ + -fdiagnostics-color=auto \ -fno-strict-aliasing \ -fvisibility=hidden \ -ffunction-sections \ -- 2.30.2