summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2015-04-10 21:38:40 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-10 21:38:40 +0000
commit1a2fd2eb1ac5160feb020b65a030c9b2c66d5dfc (patch)
treefa0686f4cb18ed52364dc505cca84fb84b31c9d6 /core
parent55acb92d825f12469e855485b23bfcd5e2461978 (diff)
parent05130993f4f5f76773022eee6f0f198816e63e91 (diff)
downloadbuild-1a2fd2eb1ac5160feb020b65a030c9b2c66d5dfc.zip
build-1a2fd2eb1ac5160feb020b65a030c9b2c66d5dfc.tar.gz
build-1a2fd2eb1ac5160feb020b65a030c9b2c66d5dfc.tar.bz2
am 05130993: am dbecad05: Merge "Use -Wno-format-pedantic to disable overly aggressive format string warning."
* commit '05130993f4f5f76773022eee6f0f198816e63e91': 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 += \