diff options
author | trav90 <travawine@palemoon.org> | 2022-05-27 16:08:20 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2022-05-27 16:08:27 -0500 |
commit | 0121f31aff60bfecfc7974045a98f7968ce31eb7 (patch) | |
tree | ab9c471f636e738e93a173fbb94c0a5e255d7c3d | |
parent | 1f0f1646e24494e0bf5408dee550c4585b5ca6c7 (diff) | |
download | aura-central-0121f31aff60bfecfc7974045a98f7968ce31eb7.tar.gz |
[DOM:Media] Update ffmpeg - Part 4: Silence some GCC compiler warnings in FFmpeg code
-rw-r--r-- | dom/media/platforms/ffmpeg/ffmpeg57/moz.build | 5 | ||||
-rw-r--r-- | dom/media/platforms/ffmpeg/ffmpeg58/moz.build | 5 | ||||
-rw-r--r-- | dom/media/platforms/ffmpeg/ffmpeg59/moz.build | 5 | ||||
-rw-r--r-- | dom/media/platforms/ffmpeg/ffvpx/moz.build | 5 | ||||
-rw-r--r-- | dom/media/platforms/ffmpeg/libav55/moz.build | 5 | ||||
-rw-r--r-- | libs/ffvpx/libavcodec/moz.build | 5 |
6 files changed, 24 insertions, 6 deletions
diff --git a/dom/media/platforms/ffmpeg/ffmpeg57/moz.build b/dom/media/platforms/ffmpeg/ffmpeg57/moz.build index 9e4ac60b7..00ca9828a 100644 --- a/dom/media/platforms/ffmpeg/ffmpeg57/moz.build +++ b/dom/media/platforms/ffmpeg/ffmpeg57/moz.build @@ -15,7 +15,10 @@ LOCAL_INCLUDES += [ ] if CONFIG['GNU_CXX']: - CXXFLAGS += [ '-Wno-deprecated-declarations' ] + CXXFLAGS += [ + '-Wno-attributes', + '-Wno-deprecated-declarations', + ] if CONFIG['CLANG_CXX']: CXXFLAGS += [ '-Wno-unknown-attributes', diff --git a/dom/media/platforms/ffmpeg/ffmpeg58/moz.build b/dom/media/platforms/ffmpeg/ffmpeg58/moz.build index 9e4ac60b7..00ca9828a 100644 --- a/dom/media/platforms/ffmpeg/ffmpeg58/moz.build +++ b/dom/media/platforms/ffmpeg/ffmpeg58/moz.build @@ -15,7 +15,10 @@ LOCAL_INCLUDES += [ ] if CONFIG['GNU_CXX']: - CXXFLAGS += [ '-Wno-deprecated-declarations' ] + CXXFLAGS += [ + '-Wno-attributes', + '-Wno-deprecated-declarations', + ] if CONFIG['CLANG_CXX']: CXXFLAGS += [ '-Wno-unknown-attributes', diff --git a/dom/media/platforms/ffmpeg/ffmpeg59/moz.build b/dom/media/platforms/ffmpeg/ffmpeg59/moz.build index 9e4ac60b7..00ca9828a 100644 --- a/dom/media/platforms/ffmpeg/ffmpeg59/moz.build +++ b/dom/media/platforms/ffmpeg/ffmpeg59/moz.build @@ -15,7 +15,10 @@ LOCAL_INCLUDES += [ ] if CONFIG['GNU_CXX']: - CXXFLAGS += [ '-Wno-deprecated-declarations' ] + CXXFLAGS += [ + '-Wno-attributes', + '-Wno-deprecated-declarations', + ] if CONFIG['CLANG_CXX']: CXXFLAGS += [ '-Wno-unknown-attributes', diff --git a/dom/media/platforms/ffmpeg/ffvpx/moz.build b/dom/media/platforms/ffmpeg/ffvpx/moz.build index c060efbd7..193830301 100644 --- a/dom/media/platforms/ffmpeg/ffvpx/moz.build +++ b/dom/media/platforms/ffmpeg/ffvpx/moz.build @@ -28,7 +28,10 @@ if CONFIG['OS_ARCH'] == 'WINNT': ] if CONFIG['GNU_CXX']: - CXXFLAGS += [ '-Wno-deprecated-declarations' ] + CXXFLAGS += [ + '-Wno-attributes', + '-Wno-deprecated-declarations', + ] if CONFIG['CLANG_CXX']: CXXFLAGS += [ '-Wno-unknown-attributes', diff --git a/dom/media/platforms/ffmpeg/libav55/moz.build b/dom/media/platforms/ffmpeg/libav55/moz.build index 9e4ac60b7..00ca9828a 100644 --- a/dom/media/platforms/ffmpeg/libav55/moz.build +++ b/dom/media/platforms/ffmpeg/libav55/moz.build @@ -15,7 +15,10 @@ LOCAL_INCLUDES += [ ] if CONFIG['GNU_CXX']: - CXXFLAGS += [ '-Wno-deprecated-declarations' ] + CXXFLAGS += [ + '-Wno-attributes', + '-Wno-deprecated-declarations', + ] if CONFIG['CLANG_CXX']: CXXFLAGS += [ '-Wno-unknown-attributes', diff --git a/libs/ffvpx/libavcodec/moz.build b/libs/ffvpx/libavcodec/moz.build index 671da54db..6b13cfde0 100644 --- a/libs/ffvpx/libavcodec/moz.build +++ b/libs/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': |