commit | 88eac2c99022a51fa571ddf0ba7f15f63551c666 | [log] [tgz] |
---|---|---|
author | Timofey Solonin <timofey.solonin@jetbrains.com> | Fri Sep 06 16:42:50 2024 +0200 |
committer | Timofey Solonin <timofey.solonin@jetbrains.com> | Fri Sep 06 16:42:50 2024 +0200 |
tree | 85cc21aeb86b92eead4372f59f3cbef85e5d3a7f | |
parent | 82212ded2b28d3cde0b0b6b57c86dc0182404311 [diff] |
fixup! Replace llvm-dev C++ stdlib with Xcode's in C++ test compilations
diff --git a/native/native.tests/tests/org/jetbrains/kotlin/konan/test/blackbox/support/util/Clang.kt b/native/native.tests/tests/org/jetbrains/kotlin/konan/test/blackbox/support/util/Clang.kt index b6976f3..db75275 100644 --- a/native/native.tests/tests/org/jetbrains/kotlin/konan/test/blackbox/support/util/Clang.kt +++ b/native/native.tests/tests/org/jetbrains/kotlin/konan/test/blackbox/support/util/Clang.kt
@@ -101,6 +101,10 @@ add("-Wno-#warnings") // Workaround KT-69507 add("-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS") + // llvm 11 doesn't support "__attribute__((__using_if_exists__))", so we stub these manually + listOf("mbrtoc16", "c16rtomb", "mbrtoc32", "c32rtomb").forEach { + add("-D$it=printf") + } } } addAll(additionalClangFlags)