backend: Generate assert call depending on the compiler key

This commit is contained in:
Ilya Matveev
2017-03-10 16:30:57 +03:00
committed by ilmat192
parent 30be84cd55
commit 97b5bb527d
6 changed files with 30 additions and 6 deletions
+2 -2
View File
@@ -200,7 +200,7 @@ targetList.each { target ->
"-Dkonan.home=${project.parent.file('dist')}",
"-Djava.library.path=${project.buildDir}/nativelibs"
args('-output', project(':runtime').file("build/${target}/stdlib.kt.bc"),
'-nolink', '-nostdlib', '-compile_as_stdlib',
'-nolink', '-nostdlib', '-compile_as_stdlib', '-ea',
'-target', target,
'-runtime', project(':runtime').file("build/${target}/runtime.bc"),
'-properties', project(':backend.native').file('konan.properties'),
@@ -226,7 +226,7 @@ targetList.each { target ->
"-Dkonan.home=${project.parent.file('dist')}",
"-Djava.library.path=${project.buildDir}/nativelibs"
args('-output', project(':runtime').file("build/${target}/start.kt.bc"),
'-nolink', '-nostdlib',
'-nolink', '-nostdlib', '-ea',
'-target', target,
'-library', project(':runtime').file("build/${target}/stdlib.kt.bc"),
'-runtime', project(':runtime').file("build/${target}/runtime.bc"),