Skip to content

Commit 50f7c6a

Browse files
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 be179d0 related to #154447.
1 parent 945a186 commit 50f7c6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/cmake/modules/HandleLLVMOptions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ CHECK_CXX_SOURCE_COMPILES("
183183
int main() { return 0; }
184184
" LLVM_USES_LIBSTDCXX)
185185

186-
option(GLIBCXX_USE_CXX11_ABI "Use new libstdc++ CXX11 ABI" OFF)
186+
option(GLIBCXX_USE_CXX11_ABI "Use new libstdc++ CXX11 ABI" ON)
187187

188188
if (LLVM_USES_LIBSTDCXX)
189189
if (GLIBCXX_USE_CXX11_ABI)

0 commit comments

Comments
 (0)