summaryrefslogtreecommitdiff
path: root/media
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2022-05-19 20:54:34 -0500
committertrav90 <travawine@palemoon.org>2022-05-21 13:07:38 -0500
commitbe82ca4b1f8be0f945d63d5416cf537ffc04f7dd (patch)
treebe643e7655a96bfe1ff9b3f45cf7e7fc90c6d60a /media
parent991b053042476ada227ecca95658f8aebaed5cb3 (diff)
downloaduxp-be82ca4b1f8be0f945d63d5416cf537ffc04f7dd.tar.gz
Issue #457 - Silence some GCC compiler warnings in FFmpeg code
Diffstat (limited to 'media')
-rw-r--r--media/ffvpx/libavcodec/moz.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/media/ffvpx/libavcodec/moz.build b/media/ffvpx/libavcodec/moz.build
index 0dbabcf755..b21dbfcfad 100644
--- a/media/ffvpx/libavcodec/moz.build
+++ b/media/ffvpx/libavcodec/moz.build
@@ -3,7 +3,7 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# Due to duplicate file names, we compile libavutil/x86 in its own
+# Due to duplicate file names, we compile libavcodec/x86 in its own
# moz.build file.
if CONFIG['FFVPX_ASFLAGS']:
DIRS += ['x86']
@@ -66,6 +66,9 @@ SOURCES += [
SYMBOLS_FILE = 'avcodec.symbols'
NO_VISIBILITY_FLAGS = True
+if CONFIG['GNU_CXX']:
+ CXXFLAGS += ['-Wno-attributes']
+
# GCC 10 defaults -fno-common, we don't care to solve this "properly" yet
# so use GCC < 10 behavior.
if CONFIG['GNU_CC'] and CONFIG['CC_VERSION'] >= '10.0.0':