Bug 1073003 - Disable -Wattribute warnings in media/webrtc. r=bustage

--HG--
extra : rebase_source : a24a01f05596be3bc6a67e0b238eb3d599cd5eda
This commit is contained in:
Botond Ballo 2014-12-22 21:45:18 -05:00
parent 83dd57f82a
commit ad41aadeff

View File

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