Default to GLIBCXX_USE_CXX11_ABI=ON

Because many of our bots actually don't run a listdc++ compatible with
_GLIBCXX_USE_CXX11_ABI=0. See
https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html for
details.

This is a follow-up to be179d069664ce03c485e49fa1f6e2ca3d6286fa related
to #154447.
This commit is contained in:
serge-sans-paille 2025-08-22 09:33:46 +02:00
parent 945a186089
commit 50f7c6a5b9
No known key found for this signature in database
GPG Key ID: 7B24DA8C9551659F

View File

@ -183,7 +183,7 @@ CHECK_CXX_SOURCE_COMPILES("
int main() { return 0; }
" LLVM_USES_LIBSTDCXX)
option(GLIBCXX_USE_CXX11_ABI "Use new libstdc++ CXX11 ABI" OFF)
option(GLIBCXX_USE_CXX11_ABI "Use new libstdc++ CXX11 ABI" ON)
if (LLVM_USES_LIBSTDCXX)
if (GLIBCXX_USE_CXX11_ABI)