summaryrefslogtreecommitdiff
path: root/solenv/gbuild
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2018-01-19 12:03:28 +0100
committerMichael Stahl <mstahl@redhat.com>2018-01-19 21:53:07 +0100
commitb4a7cd3014344d53497283610ce6a06dbc51f053 (patch)
tree5a951f69b60cbe585f7b800d310382d2a3d3995e /solenv/gbuild
parentf69e2f739ca3c23c9de055c8600c867e864cd4ff (diff)
gbuild: disable gb_COLOR on WNT for now
The Cygwin terminal swallows colorful error messages, which is unhelpful. Change-Id: I2005994eb76fdba1dc49efc2988e38ac460d6724
Diffstat (limited to 'solenv/gbuild')
-rw-r--r--solenv/gbuild/Output.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/solenv/gbuild/Output.mk b/solenv/gbuild/Output.mk
index 92a277c24561..4fbefdea57a7 100644
--- a/solenv/gbuild/Output.mk
+++ b/solenv/gbuild/Output.mk
@@ -51,9 +51,12 @@ gb_Output_BELL := $(shell echo|awk 'BEGIN { printf "%c", 7 }' -)
# default to color output, if interactive
ifeq ($(origin gb_COLOR),undefined)
ifneq ($(MAKE_TERMOUT),)
+# Cygwin mintty has issues where gb_Output_error is swallowed
+ifneq ($(OS),WNT)
gb_COLOR=$(true)
endif
endif
+endif
# only enable colorized output if
# - gb_COLOR is set