Merge branch 'devel' into sighashes

This commit is contained in:
Araq 2016-12-14 01:31:02 +01:00
commit 843ae830d3
2 changed files with 105 additions and 43 deletions

View file

@ -66,7 +66,9 @@ proc commandCompileToC(graph: ModuleGraph; cache: IdentCache) =
compileProject(graph, cache)
cgenWriteModules(graph.backend)
if gCmd != cmdRun:
extccomp.callCCompiler(changeFileExt(gProjectFull, ""))
let proj = changeFileExt(gProjectFull, "")
extccomp.callCCompiler(proj)
extccomp.writeJsonBuildInstructions(proj)
proc commandCompileToJS(graph: ModuleGraph; cache: IdentCache) =
#incl(gGlobalOptions, optSafeCode)