mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1073003 - Disable -Wattribute warnings in media/webrtc. r=bustage
--HG-- extra : rebase_source : a24a01f05596be3bc6a67e0b238eb3d599cd5eda
This commit is contained in:
parent
83dd57f82a
commit
ad41aadeff
@ -60,6 +60,15 @@ EXPORTS.mozilla += [
|
|||||||
|
|
||||||
include('/ipc/chromium/chromium-config.mozbuild')
|
include('/ipc/chromium/chromium-config.mozbuild')
|
||||||
|
|
||||||
|
# Suppress some GCC/clang warnings being treated as errors:
|
||||||
|
# - about attributes on forward declarations for types that are already
|
||||||
|
# defined, which complains about important MOZ_EXPORT attributes for
|
||||||
|
# android API types
|
||||||
|
if CONFIG['GNU_CC'] or CONFIG['CLANG_CL']:
|
||||||
|
CXXFLAGS += [
|
||||||
|
'-Wno-error=attributes'
|
||||||
|
]
|
||||||
|
|
||||||
FINAL_LIBRARY = 'xul'
|
FINAL_LIBRARY = 'xul'
|
||||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||||
DEFINES['NOMINMAX'] = True
|
DEFINES['NOMINMAX'] = True
|
||||||
|
Loading…
Reference in New Issue
Block a user