quiet down Mac linker warnings
Change-Id: I9a2a061e7a021587441f3f39427306309e0341e8 Reviewed-on: https://skia-review.googlesource.com/82042 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
This commit is contained in:
parent
b681972e79
commit
15f46c3c1f
@ -194,6 +194,14 @@ config("default") {
|
||||
if (is_linux) {
|
||||
libs += [ "pthread" ]
|
||||
}
|
||||
if (is_mac) {
|
||||
# Disable linker warnings. They're usually just annoyances like,
|
||||
# ld: warning: text-based stub file
|
||||
# /System/Library/Frameworks/foo.framework/foo.tbd and library file
|
||||
# /System/Library/Frameworks/foo.framework/foo are out of sync.
|
||||
# Falling back to library file for linking.
|
||||
ldflags += [ "-Wl,-w" ]
|
||||
}
|
||||
|
||||
if (sanitize != "") {
|
||||
# You can either pass the sanitizers directly, e.g. "address,undefined",
|
||||
|
Loading…
Reference in New Issue
Block a user