| Index: build/config/sanitizers/BUILD.gn
|
| diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn
|
| index 2580a1507087100e607753f7efa37e23f70d8ddf..2d6e96e3bd29e3a11a66e2c087230fc654cf34d1 100644
|
| --- a/build/config/sanitizers/BUILD.gn
|
| +++ b/build/config/sanitizers/BUILD.gn
|
| @@ -91,7 +91,7 @@ config("default_sanitizer_ldflags") {
|
| if (is_msan) {
|
| ldflags += [ "-fsanitize=memory" ]
|
| }
|
| - if (is_ubsan) {
|
| + if (is_ubsan || is_ubsan_security) {
|
| ldflags += [ "-fsanitize=undefined" ]
|
| }
|
| if (is_ubsan_vptr) {
|
|
|