Skip to content

Commit 4c092f8

Browse files
rmacnak-googleCommit Queue
authored andcommitted
[build] Build libcxx from source for Mac UBSAN.
Bug: #61636 Change-Id: I2463cbddeb6044291840d9db2596498b5bc74cc2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/452906 Commit-Queue: Ryan Macnak <[email protected]> Reviewed-by: Alexander Aprelev <[email protected]>
1 parent d6b1270 commit 4c092f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/config/BUILDCONFIG.gn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ if (current_os == "win") {
256256
# BUILD OPTIONS
257257
# =============================================================================
258258

259-
use_flutter_cxx =
260-
is_clang && ((is_asan && is_mac) || is_msan || is_tsan || is_ios)
259+
use_flutter_cxx = is_clang && (((is_asan || is_ubsan) && is_mac) || is_msan ||
260+
is_tsan || is_ios)
261261

262262
using_sanitizer = !is_win && (is_asan || is_hwasan || is_lsan || is_msan ||
263263
is_tsan || is_ubsan)

0 commit comments

Comments
 (0)