[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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user