[KT-54284][Native] Produce deterministic klibs from cinterop. (#4979)
Pass in temp-file C sources to clang via stdin instead of by name. This prevents absolute paths of temp files from being encoded in bitcode.
This commit is contained in:
+4
-4
@@ -16,10 +16,10 @@
|
||||
|
||||
package org.jetbrains.kotlin.native.interop.indexer
|
||||
|
||||
enum class Language(val sourceFileExtension: String) {
|
||||
C("c"),
|
||||
CPP("cpp"),
|
||||
OBJECTIVE_C("m")
|
||||
enum class Language(val sourceFileExtension: String, val clangLanguageName: String) {
|
||||
C("c", "c"),
|
||||
CPP("cpp", "c++"),
|
||||
OBJECTIVE_C("m", "objective-c")
|
||||
}
|
||||
|
||||
interface HeaderInclusionPolicy {
|
||||
|
||||
Reference in New Issue
Block a user