summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-04 02:31:24 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-04 02:31:24 +0000
commit977f377c23f388a14f638d68087aacfad9090bb1 (patch)
tree33d72e6edeb8b00434a5112ccaf84845dbbc8a34
parent2591de9ed99386b530a3eb676deef27e9c6cf387 (diff)
downloadchromium_src-977f377c23f388a14f638d68087aacfad9090bb1.zip
chromium_src-977f377c23f388a14f638d68087aacfad9090bb1.tar.gz
chromium_src-977f377c23f388a14f638d68087aacfad9090bb1.tar.bz2
Convert another clang warning that I missed in r287137.
BUG=none NOTRY=true Review URL: https://codereview.chromium.org/439113002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287278 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--third_party/yasm/yasm.gyp17
1 files changed, 4 insertions, 13 deletions
diff --git a/third_party/yasm/yasm.gyp b/third_party/yasm/yasm.gyp
index b691d86..78f1966 100644
--- a/third_party/yasm/yasm.gyp
+++ b/third_party/yasm/yasm.gyp
@@ -534,19 +534,10 @@
'cflags': [
'-std=gnu99',
],
- 'conditions': [
- ['clang==1', {
- 'xcode_settings': {
- 'WARNING_CFLAGS': [
- # re2c is missing CLOSEVOP from one switch.
- '-Wno-switch',
- ],
- },
- 'cflags': [
- '-Wno-switch',
- ],
- }],
- ],
+ 'variables': {
+ # re2c is missing CLOSEVOP from one switch.
+ 'clang_warning_flags': [ '-Wno-switch' ],
+ },
'msvs_disabled_warnings': [ 4267 ],
},
{