From 80c6b0288cb1928a8fccad65863b64f676fa010c Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Thu, 9 Nov 2023 16:07:09 -0800 Subject: [PATCH] Add a libcxxabi module that provides support for C++ thread-local storage See https://github.com/flutter/flutter/issues/138117 --- build/secondary/third_party/libcxxabi/BUILD.gn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/secondary/third_party/libcxxabi/BUILD.gn b/build/secondary/third_party/libcxxabi/BUILD.gn index 10e51e78ac8b8..f3b308d4ffe72 100644 --- a/build/secondary/third_party/libcxxabi/BUILD.gn +++ b/build/secondary/third_party/libcxxabi/BUILD.gn @@ -79,4 +79,8 @@ source_set("libcxxabi") { if (!(is_tsan && is_linux)) { sources += [ "src/cxa_guard.cpp" ] } + + if (is_fuchsia || (is_posix && !is_apple)) { + sources += [ "src/cxa_thread_atexit.cpp" ] + } }