summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2015-04-10 21:22:52 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-10 21:23:12 +0000
commitdbecad05a9a9272a844d8649a89b987eb560c875 (patch)
tree7a953756e1270f1502a5207e956fc57fc95618c3 /core
parent69bd465b6e14294ce0678e8a18d28eb55abbe2c7 (diff)
parentb992bfcf337a1b5d807be27dcd1612efa86c9534 (diff)
downloadbuild-dbecad05a9a9272a844d8649a89b987eb560c875.zip
build-dbecad05a9a9272a844d8649a89b987eb560c875.tar.gz
build-dbecad05a9a9272a844d8649a89b987eb560c875.tar.bz2
Merge "Use -Wno-format-pedantic to disable overly aggressive format string warning."
Diffstat (limited to 'core')
-rw-r--r--core/clang/config.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/clang/config.mk b/core/clang/config.mk
index 13a5ba1..3bc7b56 100644
--- a/core/clang/config.mk
+++ b/core/clang/config.mk
@@ -49,6 +49,11 @@ CLANG_CONFIG_EXTRA_CFLAGS += \
CLANG_CONFIG_EXTRA_CFLAGS += \
-Wno-reserved-id-macro
+# Disable overly aggressive warning for format strings.
+# Bug: 20148343
+CLANG_CONFIG_EXTRA_CFLAGS += \
+ -Wno-format-pedantic
+
# Workaround for ccache with clang.
# See http://petereisentraut.blogspot.com/2011/05/ccache-and-clang.html.
CLANG_CONFIG_EXTRA_CFLAGS += \