mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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.
This commit is contained in:
parent
bc9d156a9f
commit
29563b9f24
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user