mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-04 14:23:38 +03:00
build: Disable UBSAN in brotli
is_ubsan is not declared somehow.
This commit is contained in:
parent
31165a47e6
commit
ec300d2262
1 changed files with 3 additions and 3 deletions
6
src/third_party/brotli/BUILD.gn
vendored
6
src/third_party/brotli/BUILD.gn
vendored
|
@ -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") {
|
||||
|
|
Loading…
Add table
Reference in a new issue