From ec300d2262f2e5bc825e54d449fc088c943c32d9 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Tue, 14 Mar 2023 06:41:58 +0800 Subject: [PATCH] build: Disable UBSAN in brotli is_ubsan is not declared somehow. --- src/third_party/brotli/BUILD.gn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/third_party/brotli/BUILD.gn b/src/third_party/brotli/BUILD.gn index 0aa74779e8..4395670868 100644 --- a/src/third_party/brotli/BUILD.gn +++ b/src/third_party/brotli/BUILD.gn @@ -9,9 +9,9 @@ if (is_win) { config("brotli_defines") { # By default, brotli depends on undefined behavior, but setting # BROTLI_BUILD_PORTABLE should result in a build which does not. - if (is_ubsan) { - defines = [ "BROTLI_BUILD_PORTABLE" ] - } + #if (is_ubsan) { + # defines = [ "BROTLI_BUILD_PORTABLE" ] + #} } config("includes") {