| Index: build/config/sanitizers/BUILD.gn
|
| diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn
|
| index ce48fedc86fc74d752a67a4d38179083b157d884..e7e36b5db84422529b68fcf56e244ea317fb9490 100644
|
| --- a/build/config/sanitizers/BUILD.gn
|
| +++ b/build/config/sanitizers/BUILD.gn
|
| @@ -33,7 +33,9 @@ group("deps") {
|
| }
|
|
|
| config("sanitizer_options_link_helper") {
|
| - if (!is_win) {
|
| + if (is_mac) {
|
| + ldflags = [ "-Wl,-U,_sanitizer_options_link_helper" ]
|
| + } else if (!is_win) {
|
| ldflags = [ "-Wl,-u_sanitizer_options_link_helper" ]
|
| }
|
| }
|
|
|