[K/N] Remove old workaround for osVersionMin on arm macOS
This commit is contained in:
committed by
Space Cloud
parent
cdb6a06e49
commit
d04b3050c0
@@ -94,15 +94,8 @@ sealed class ClangArgs(
|
||||
val targetString: String = when {
|
||||
argsForWindowsJni -> "x86_64-pc-windows-msvc"
|
||||
configurables is AppleConfigurables -> {
|
||||
val osVersionMin = when (target) {
|
||||
// Here we workaround Clang 8 limitation: macOS major version should be 10.
|
||||
// So we compile runtime with version 10.16 and then override version in BitcodeCompiler.
|
||||
// TODO: Fix with LLVM Update.
|
||||
KonanTarget.MACOS_ARM64 -> "10.16"
|
||||
else -> configurables.osVersionMin
|
||||
}
|
||||
targetTriple.copy(
|
||||
os = "${targetTriple.os}$osVersionMin"
|
||||
os = "${targetTriple.os}${configurables.osVersionMin}"
|
||||
).toString()
|
||||
}
|
||||
else -> configurables.targetTriple.toString()
|
||||
|
||||
Reference in New Issue
Block a user