Disable -Wl,--as-needed in sanitizer mode.
commit009e710e139692929e181400bcc97c71235b892e
authorerg <erg@chromium.org>
Tue, 27 Jan 2015 19:09:02 +0000 (27 11:09 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 27 Jan 2015 19:10:02 +0000 (27 19:10 +0000)
tree772c190c94f1bdc66f1da0acb9c402b3a7099644
parent962ad3b89fe5306082c18dd58d61a822b76daae5
Disable -Wl,--as-needed in sanitizer mode.

We've had problems with this linker flag in --as-needed a few times now;
just disable it if we're doing a sanitizer build.

BUG=452105

Review URL: https://codereview.chromium.org/882443003

Cr-Commit-Position: refs/heads/master@{#313321}
build/config/compiler/BUILD.gn