Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1613395 - Disable gcc -Wattributes on some thirdparty media code …
Browse files Browse the repository at this point in the history
…r=froydnj

Differential Revision: https://phabricator.services.mozilla.com/D61698
  • Loading branch information
sylvestre committed Feb 5, 2020
1 parent 8e0cc34 commit 8cbe7fd
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dom/media/platforms/ffmpeg/ffmpeg57/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,9 @@ if CONFIG['CC_TYPE'] == 'clang':
CXXFLAGS += [
'-Wno-unknown-attributes',
]
if CONFIG['CC_TYPE'] == 'gcc':
CXXFLAGS += [
'-Wno-attributes',
]

FINAL_LIBRARY = 'xul'
4 changes: 4 additions & 0 deletions dom/media/platforms/ffmpeg/ffmpeg58/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,9 @@ if CONFIG['CC_TYPE'] == 'clang':
CXXFLAGS += [
'-Wno-unknown-attributes',
]
if CONFIG['CC_TYPE'] == 'gcc':
CXXFLAGS += [
'-Wno-attributes',
]

FINAL_LIBRARY = 'xul'
4 changes: 4 additions & 0 deletions dom/media/platforms/ffmpeg/ffvpx/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ if CONFIG['CC_TYPE'] == 'clang':
CXXFLAGS += [
'-Wno-unknown-attributes',
]
if CONFIG['CC_TYPE'] == 'gcc':
CXXFLAGS += [
'-Wno-attributes',
]

DEFINES['FFVPX_VERSION'] = 46465650
DEFINES['USING_MOZFFVPX'] = True
Expand Down
4 changes: 4 additions & 0 deletions dom/media/platforms/ffmpeg/libav55/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,9 @@ if CONFIG['CC_TYPE'] == 'clang':
CXXFLAGS += [
'-Wno-unknown-attributes',
]
if CONFIG['CC_TYPE'] == 'gcc':
CXXFLAGS += [
'-Wno-attributes',
]

FINAL_LIBRARY = 'xul'

0 comments on commit 8cbe7fd

Please sign in to comment.