build: Use konan.properties values for some building constants.

This patch uses values provided by konan.properties to specify
build dependencies (libffi and sysroots) and the "target" parameter
for LLVM.
This commit is contained in:
Ilya Matveev
2017-05-24 18:36:37 +07:00
committed by ilmat192
parent 070ea929f0
commit f1256edb02
3 changed files with 199 additions and 165 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ targetList.each { target ->
'-target', target,
'-library', project(':runtime').file("build/${target}Stdlib"),
'-runtime', project(':runtime').file("build/${target}/runtime.bc"),
'-properties', project(':backend.native').file('konan.properties'),
'-properties', rootProject.konanPropertiesFile.canonicalPath,
project(':runtime').file('src/launcher/kotlin'),
*project.globalBuildArgs)