summaryrefslogtreecommitdiffstats
path: root/third_party/opus
diff options
context:
space:
mode:
authordmichael <dmichael@chromium.org>2014-09-12 13:31:27 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-12 20:38:21 +0000
commit09dc114cac5e71e55a5b879261856cf3bfaffb5f (patch)
treeb4ddc1f3ca4ca24c594e1259947735ab7a732803 /third_party/opus
parent3f37ce216d768da8795a80860b00a4ad45735bd9 (diff)
downloadchromium_src-09dc114cac5e71e55a5b879261856cf3bfaffb5f.zip
chromium_src-09dc114cac5e71e55a5b879261856cf3bfaffb5f.tar.gz
chromium_src-09dc114cac5e71e55a5b879261856cf3bfaffb5f.tar.bz2
Suppress opus warning about optimization in opus_nacl
See also https://trac.xiph.org/ticket/2048 BUG=355440 Review URL: https://codereview.chromium.org/570443002 Cr-Commit-Position: refs/heads/master@{#294650}
Diffstat (limited to 'third_party/opus')
-rw-r--r--third_party/opus/opus_nacl.gyp8
1 files changed, 5 insertions, 3 deletions
diff --git a/third_party/opus/opus_nacl.gyp b/third_party/opus/opus_nacl.gyp
index a93a817..c4287c27 100644
--- a/third_party/opus/opus_nacl.gyp
+++ b/third_party/opus/opus_nacl.gyp
@@ -3,9 +3,6 @@
# found in the LICENSE file.
{
- 'variables': {
- 'werror': '',
- },
'includes': [
'../../native_client/build/untrusted.gypi',
],
@@ -40,6 +37,11 @@
'<@(opus_common_sources)',
'<@(opus_float_sources)',
],
+ # Suppress a warning given by opus_decoder.c that tells us
+ # optimizations are turned off.
+ 'cflags': [
+ '-Wno-#pragma-messages',
+ ],
}, # end of target 'opus_nacl'
],
}