Bug 1613395 - Disable gcc -Wattributes on some thirdparty media code r=froydnj

Differential Revision: https://phabricator.services.mozilla.com/D61698

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Sylvestre Ledru 2020-02-05 18:39:58 +00:00
parent 38a92008fc
commit a3339f89c0
4 changed files with 16 additions and 0 deletions

View File

@ -21,5 +21,9 @@ if CONFIG['CC_TYPE'] == 'clang':
CXXFLAGS += [
'-Wno-unknown-attributes',
]
if CONFIG['CC_TYPE'] == 'gcc':
CXXFLAGS += [
'-Wno-attributes',
]
FINAL_LIBRARY = 'xul'

View File

@ -21,5 +21,9 @@ if CONFIG['CC_TYPE'] == 'clang':
CXXFLAGS += [
'-Wno-unknown-attributes',
]
if CONFIG['CC_TYPE'] == 'gcc':
CXXFLAGS += [
'-Wno-attributes',
]
FINAL_LIBRARY = 'xul'

View File

@ -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

View File

@ -21,5 +21,9 @@ if CONFIG['CC_TYPE'] == 'clang':
CXXFLAGS += [
'-Wno-unknown-attributes',
]
if CONFIG['CC_TYPE'] == 'gcc':
CXXFLAGS += [
'-Wno-attributes',
]
FINAL_LIBRARY = 'xul'