From 09dc114cac5e71e55a5b879261856cf3bfaffb5f Mon Sep 17 00:00:00 2001 From: dmichael Date: Fri, 12 Sep 2014 13:31:27 -0700 Subject: 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} --- third_party/opus/opus_nacl.gyp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'third_party/opus') 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' ], } -- cgit v1.1