diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-02-20 18:21:57 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2015-02-20 18:21:57 +0100 |
commit | 255adbf40833e4ce6ff7e8d1750f5853a3f15ea2 (patch) | |
tree | 0d66d76cbee702e6962d738069b14e2e514f067d /sync-build.sh | |
parent | 57f49edb18fb1f8591026814e2912a2a24ee9e62 (diff) | |
download | wireshark-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-x | sync-build.sh | 2 |
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}" |