[build] Build libcxx from source for Mac UBSAN.

Bug: https://github.com/dart-lang/sdk/issues/61636
Change-Id: I2463cbddeb6044291840d9db2596498b5bc74cc2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/452906
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
This commit is contained in:
Ryan Macnak
2025-10-01 14:27:40 -07:00
committed by Commit Queue
parent d6b12702bc
commit 4c092f8883
+2 -2
View File
@@ -256,8 +256,8 @@ if (current_os == "win") {
# BUILD OPTIONS
# =============================================================================
use_flutter_cxx =
is_clang && ((is_asan && is_mac) || is_msan || is_tsan || is_ios)
use_flutter_cxx = is_clang && (((is_asan || is_ubsan) && is_mac) || is_msan ||
is_tsan || is_ios)
using_sanitizer = !is_win && (is_asan || is_hwasan || is_lsan || is_msan ||
is_tsan || is_ubsan)