Add -Wno-unused-functions to the clang/mac config, to match clang/linux.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/5216007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66947 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/build/common.gypi b/build/common.gypi
index 92b974f..1b260cde4 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1279,6 +1279,8 @@
# Don't die on dtoa code that uses a char as an array index.
# This is required solely for base/third_party/dmg_fp/dtoa.cc.
'-Wno-char-subscripts',
+ # Clang spots more unused functions.
+ '-Wno-unused-function',
# Survive EXPECT_EQ(unnamed_enum, unsigned int) -- see
# http://code.google.com/p/googletest/source/detail?r=446 .
# TODO(thakis): Use -isystem instead (http://crbug.com/58751 ).