backend/build: add hack to workaround missing interop features

This commit is contained in:
Svyatoslav Scherbina
2016-12-29 16:10:39 +07:00
committed by SvyatoslavScherbina
parent 667d3b9356
commit b531d984c8
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -134,6 +134,7 @@ List<String> llvmLinkerOpts() {
kotlinNativeInterop {
llvm {
defFile 'llvm.def'
headers files('LlvmHacks.h')
compilerOpts "-fPIC", "-I$llvmDir/include"
linkerOpts llvmLinkerOpts()
}