| Index: third_party/yasm/yasm.gyp
|
| diff --git a/third_party/yasm/yasm.gyp b/third_party/yasm/yasm.gyp
|
| index b691d8601778a7e6534c54f3b644822e7b1476c7..78f196676670c052b007b7608c3adfcee0e978a0 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 ],
|
| },
|
| {
|
|
|