All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] meson: set colorout to auto
@ 2020-08-25  6:43 Gerd Hoffmann
  2020-08-25  6:59 ` Marc-André Lureau
  2020-08-25 13:26 ` Richard Henderson
  0 siblings, 2 replies; 7+ messages in thread
From: Gerd Hoffmann @ 2020-08-25  6:43 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann

Dunno why the default is set to "always".  IMHO it should be "auto",
i.e. only colorize in case stdout goes to a terminal.  Cluttering
logfiles and confusing compiler message parsers with terminal control
sequences is not nice ...

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index df5bf728b57a..558e0139768f 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,6 @@
 project('qemu', ['c'], meson_version: '>=0.55.0',
-        default_options: ['warning_level=1', 'c_std=gnu99', 'cpp_std=gnu++11', 'b_lundef=false'],
+        default_options: ['warning_level=1', 'c_std=gnu99', 'cpp_std=gnu++11',
+                          'b_lundef=false','b_colorout=auto'],
         version: run_command('head', meson.source_root() / 'VERSION').stdout().strip())
 
 not_found = dependency('', required: false)
-- 
2.27.0



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-08-30  9:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-25  6:43 [PATCH] meson: set colorout to auto Gerd Hoffmann
2020-08-25  6:59 ` Marc-André Lureau
2020-08-25  8:06   ` Gerd Hoffmann
2020-08-25  8:11     ` Marc-André Lureau
2020-08-30  9:37       ` Paolo Bonzini
2020-08-25 13:26 ` Richard Henderson
2020-08-26  5:05   ` Gerd Hoffmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.