summaryrefslogtreecommitdiffstats
path: root/core/clang
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2015-04-10 21:58:51 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-10 21:58:51 +0000
commit30314ea5ff9c944495dba661027abb44e0fdd0b8 (patch)
tree94c72aff8aa4ec4edd9c3634781a1dbe544d891b /core/clang
parent594dd525e6cd389d5827a6d20168909ee9084535 (diff)
parent1a2fd2eb1ac5160feb020b65a030c9b2c66d5dfc (diff)
downloadbuild-30314ea5ff9c944495dba661027abb44e0fdd0b8.zip
build-30314ea5ff9c944495dba661027abb44e0fdd0b8.tar.gz
build-30314ea5ff9c944495dba661027abb44e0fdd0b8.tar.bz2
am 1a2fd2eb: am 05130993: am dbecad05: Merge "Use -Wno-format-pedantic to disable overly aggressive format string warning."
* commit '1a2fd2eb1ac5160feb020b65a030c9b2c66d5dfc': Use -Wno-format-pedantic to disable overly aggressive format string warning.
Diffstat (limited to 'core/clang')
-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 e0d9b2c..0173f59 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 += \