Commit f08e1fbb authored by pwnall's avatar pwnall Committed by Commit bot

Make libusb deprecation warning go away on OSX 10.12.

BUG=638536

Review-Url: https://codereview.chromium.org/2253003002
Cr-Commit-Position: refs/heads/master@{#412628}
parent 1be61ae0
......@@ -80,7 +80,12 @@ static_library("libusb") {
}
if (is_mac) {
defines += [ "OS_DARWIN=1" ]
defines += [
"OS_DARWIN=1",
# Needed on OSX 10.12 to silence a deprecation warning.
"OBJC_SILENCE_GC_DEPRECATIONS=1",
]
} else {
sources -= [
"src/libusb/os/darwin_usb.c",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment