build: Disable UBSAN in brotli

is_ubsan is not declared somehow.
This commit is contained in:
klzgrad 2023-03-14 06:41:58 +08:00
parent f9b4f7dea8
commit 68d7e1fc86

View File

@ -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") {