From 255adbf40833e4ce6ff7e8d1750f5853a3f15ea2 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Fri, 20 Feb 2015 18:21:57 +0100 Subject: sync-build: force color Ninja can strip colors if needed, but otherwise it needs to be forced on https://github.com/martine/ninja/issues/174 --- sync-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sync-build.sh') diff --git a/sync-build.sh b/sync-build.sh index 5ba6111..158b5b4 100755 --- a/sync-build.sh +++ b/sync-build.sh @@ -51,7 +51,7 @@ CXX=${CXX:-c++} # -O1 -g -gdwarf-4 -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer _default_flags=\ -fsanitize=address _default_flags+=\ -fsanitize=undefined -_default_flags+=\ -fdiagnostics-color=auto +_default_flags+=\ -fdiagnostics-color CFLAGS="${CFLAGS-$_default_flags}${EXTRA_CFLAGS:+ $EXTRA_CFLAGS}" # Default to use the same CXXFLAGS as CFLAGS (common case) CXXFLAGS="${CXXFLAGS-$CFLAGS}" -- cgit v1.2.1