зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
daaeed9ec1
Коммит
0743335ea3
|
@ -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',
|
||||
|
|
Загрузка…
Ссылка в новой задаче