mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
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:
parent
38a92008fc
commit
a3339f89c0
@ -21,5 +21,9 @@ if CONFIG['CC_TYPE'] == 'clang':
|
|||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
'-Wno-unknown-attributes',
|
'-Wno-unknown-attributes',
|
||||||
]
|
]
|
||||||
|
if CONFIG['CC_TYPE'] == 'gcc':
|
||||||
|
CXXFLAGS += [
|
||||||
|
'-Wno-attributes',
|
||||||
|
]
|
||||||
|
|
||||||
FINAL_LIBRARY = 'xul'
|
FINAL_LIBRARY = 'xul'
|
||||||
|
@ -21,5 +21,9 @@ if CONFIG['CC_TYPE'] == 'clang':
|
|||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
'-Wno-unknown-attributes',
|
'-Wno-unknown-attributes',
|
||||||
]
|
]
|
||||||
|
if CONFIG['CC_TYPE'] == 'gcc':
|
||||||
|
CXXFLAGS += [
|
||||||
|
'-Wno-attributes',
|
||||||
|
]
|
||||||
|
|
||||||
FINAL_LIBRARY = 'xul'
|
FINAL_LIBRARY = 'xul'
|
||||||
|
@ -33,6 +33,10 @@ if CONFIG['CC_TYPE'] == 'clang':
|
|||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
'-Wno-unknown-attributes',
|
'-Wno-unknown-attributes',
|
||||||
]
|
]
|
||||||
|
if CONFIG['CC_TYPE'] == 'gcc':
|
||||||
|
CXXFLAGS += [
|
||||||
|
'-Wno-attributes',
|
||||||
|
]
|
||||||
|
|
||||||
DEFINES['FFVPX_VERSION'] = 46465650
|
DEFINES['FFVPX_VERSION'] = 46465650
|
||||||
DEFINES['USING_MOZFFVPX'] = True
|
DEFINES['USING_MOZFFVPX'] = True
|
||||||
|
@ -21,5 +21,9 @@ if CONFIG['CC_TYPE'] == 'clang':
|
|||||||
CXXFLAGS += [
|
CXXFLAGS += [
|
||||||
'-Wno-unknown-attributes',
|
'-Wno-unknown-attributes',
|
||||||
]
|
]
|
||||||
|
if CONFIG['CC_TYPE'] == 'gcc':
|
||||||
|
CXXFLAGS += [
|
||||||
|
'-Wno-attributes',
|
||||||
|
]
|
||||||
|
|
||||||
FINAL_LIBRARY = 'xul'
|
FINAL_LIBRARY = 'xul'
|
||||||
|
Loading…
Reference in New Issue
Block a user