summaryrefslogtreecommitdiff
path: root/sync-build.sh
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2015-02-20 18:21:57 +0100
committerPeter Wu <peter@lekensteyn.nl>2015-02-20 18:21:57 +0100
commit255adbf40833e4ce6ff7e8d1750f5853a3f15ea2 (patch)
tree0d66d76cbee702e6962d738069b14e2e514f067d /sync-build.sh
parent57f49edb18fb1f8591026814e2912a2a24ee9e62 (diff)
downloadwireshark-notes-255adbf40833e4ce6ff7e8d1750f5853a3f15ea2.tar.gz
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
Diffstat (limited to 'sync-build.sh')
-rwxr-xr-xsync-build.sh2
1 files changed, 1 insertions, 1 deletions
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}"