| Index: build/config/sanitizers/sanitizers.gni
|
| diff --git a/build/config/sanitizers/sanitizers.gni b/build/config/sanitizers/sanitizers.gni
|
| index 032380780236e6d23471a184a5ad34b009da1129..ac855ec4d3682a04667e4f32c92b485f1fe60de2 100644
|
| --- a/build/config/sanitizers/sanitizers.gni
|
| +++ b/build/config/sanitizers/sanitizers.gni
|
| @@ -65,8 +65,8 @@ declare_args() {
|
| # Use libc++ (buildtools/third_party/libc++ and
|
| # buildtools/third_party/libc++abi) instead of stdlibc++ as standard library.
|
| # This is intended to be used for instrumented builds.
|
| - use_custom_libcxx =
|
| - (is_asan && is_linux) || is_tsan || is_msan || is_ubsan || use_libfuzzer
|
| + use_custom_libcxx = (is_asan && (is_linux || is_mac)) || is_tsan || is_msan ||
|
| + is_ubsan || use_libfuzzer
|
|
|
| # Enable Link Time Optimization (output programs runs faster,
|
| # but linking is up to 5-20x slower.
|
|
|