Index: build/config/compiler/BUILD.gn |
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn |
index 67505a030c84a23eebd482ab295ef06739ccaa9e..235206805df84867c2c592100bd12bd8db5d4c6e 100644 |
--- a/build/config/compiler/BUILD.gn |
+++ b/build/config/compiler/BUILD.gn |
@@ -412,7 +412,7 @@ config("compiler") { |
#"-Wl,--thread-count=4", |
] |
- if (!is_asan && !is_msan && !is_lsan && !is_tsan) { |
+ if (!is_asan && !is_msan && !is_lsan && !is_tsan && !is_ubsan) { |
brettw
2015/09/29 20:05:03
Can we replace this with
if (!using_sanitizer) {
Anand Mistry (off Chromium)
2015/09/29 23:28:27
Done.
|
# TODO(brettw) common.gypi has this only for target toolset. |
ldflags += [ "-Wl,--icf=all" ] |
} |