[K/N] Drop -D_GLIBCXX_USE_CXX11_ABI=0 for LLVM

We don't use old glibc++ ABI for LLVM, so this flag have to be dropped.
(Otherwise you'll find yourself fighting sporadic runtime crushes,
trust me).
This commit is contained in:
Sergey Bogolepov
2021-07-23 10:27:04 +07:00
committed by Space
parent 0d39442a5e
commit a783ee9ae7
@@ -34,7 +34,7 @@ native {
)
when (org.jetbrains.kotlin.konan.target.HostManager.host.family) {
LINUX -> {
cxxflags.addAll(listOf("-DKONAN_LINUX=1", "-D_GLIBCXX_USE_CXX11_ABI=0"))
cxxflags.addAll(listOf("-DKONAN_LINUX=1"))
}
MINGW -> {
cxxflags += "-DKONAN_WINDOWS=1"