summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-10-30 12:22:29 -0700
committerYing Wang <wangying@google.com>2014-10-30 12:22:29 -0700
commitc7d1a973b039cf7088b2e5060b7c067bad9cb016 (patch)
tree1b97d30ac1b563e78084be27cdd3b058f3e63795 /core
parent427d1e98eceb78f5cb8f1e50d00d342fc7f359c6 (diff)
downloadbuild-c7d1a973b039cf7088b2e5060b7c067bad9cb016.zip
build-c7d1a973b039cf7088b2e5060b7c067bad9cb016.tar.gz
build-c7d1a973b039cf7088b2e5060b7c067bad9cb016.tar.bz2
Add -fcolor-diagnostics to global clang cflags.
Bug: 18187181 Change-Id: Ifcbe34b685b1dfd7ffc801bcdad7bd8208e45f86
Diffstat (limited to 'core')
-rw-r--r--core/clang/config.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/clang/config.mk b/core/clang/config.mk
index acb425d..4393340 100644
--- a/core/clang/config.mk
+++ b/core/clang/config.mk
@@ -45,7 +45,8 @@ CLANG_CONFIG_EXTRA_CFLAGS += \
# Workaround for ccache with clang.
# See http://petereisentraut.blogspot.com/2011/05/ccache-and-clang.html.
CLANG_CONFIG_EXTRA_CFLAGS += \
- -Wno-unused-command-line-argument
+ -Wno-unused-command-line-argument \
+ -fcolor-diagnostics
CLANG_CONFIG_UNKNOWN_CFLAGS := \
-finline-limit=64 \