Bug 1204919 - Build osx_corewlan.mm with -Wno-error=objc-method-access to avoid bustage on some machines in warnings-on-errors builds. r=glandium.

--HG--
extra : rebase_source : c2403e14734d9dbf88ff53e49dafc70705eaef97
This commit is contained in:
Nicholas Nethercote 2015-09-16 09:41:52 +10:00
Родитель daaeed9ec1
Коммит 0743335ea3
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -29,9 +29,13 @@ if CONFIG['OS_ARCH'] == 'Darwin':
UNIFIED_SOURCES += [
'nsWifiScannerMac.cpp',
]
UNIFIED_SOURCES += [
SOURCES += [
'osx_corewlan.mm',
]
# osx_corewlan.mm has warnings about scanForNetworksWithParameters,
# bssidData and rssi. These are APIs that were removed in 10.7, so we need
# to accept the warnings when targeting the newer SDKs.
SOURCES['osx_corewlan.mm'].flags += ['-Wno-error=objc-method-access']
elif CONFIG['OS_ARCH'] in ('DragonFly', 'FreeBSD'):
UNIFIED_SOURCES += [
'nsWifiScannerFreeBSD.cpp',