Index: third_party/opus/opus.gyp |
diff --git a/third_party/opus/opus.gyp b/third_party/opus/opus.gyp |
index 7747c972f2b1006966def6d986b83d2435c63dfa..326367ea33e09171c954fb70f901115cd91d8579 100644 |
--- a/third_party/opus/opus.gyp |
+++ b/third_party/opus/opus.gyp |
@@ -51,11 +51,16 @@ |
], |
}], |
[ 'os_posix==1 and OS!="android"', { |
+ # Suppress a warning given by opus_decoder.c that tells us |
+ # optimizations are turned off. |
'cflags': [ |
- # Suppress a warning given by opus_decoder.c that tells us |
- # optimizations are turned off. |
'-Wno-#pragma-messages', |
], |
+ 'xcode_settings': { |
+ 'WARNING_CFLAGS': [ |
+ '-Wno-#pragma-messages', |
+ ], |
+ }, |
}], |
['use_opus_fixed_point==0', { |
'include_dirs': [ |