From db30c2bebc9fa1437777a72c7e6d2fe62fa496d1 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 18 Mar 2016 20:22:16 -0400 Subject: slbt_exec_compile(): output compilation steps when not in silent mode. --- src/logic/slbt_exec_compile.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src') diff --git a/src/logic/slbt_exec_compile.c b/src/logic/slbt_exec_compile.c index 34fc10d..58bec79 100644 --- a/src/logic/slbt_exec_compile.c +++ b/src/logic/slbt_exec_compile.c @@ -51,6 +51,13 @@ int slbt_exec_compile( *ectx->lout[0] = "-o"; *ectx->lout[1] = ectx->lobjname; + if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) { + if (slbt_output_compile(dctx,ectx)) { + slbt_free_exec_ctx(actx); + return -1; + } + } + if (((ret = slbt_spawn(ectx,true)) < 0) || ectx->exitcode) { slbt_free_exec_ctx(actx); return -1; @@ -70,6 +77,13 @@ int slbt_exec_compile( *ectx->lout[0] = "-o"; *ectx->lout[1] = ectx->aobjname;; + if (!(dctx->cctx->drvflags & SLBT_DRIVER_SILENT)) { + if (slbt_output_compile(dctx,ectx)) { + slbt_free_exec_ctx(actx); + return -1; + } + } + if (((ret = slbt_spawn(ectx,true)) < 0) || ectx->exitcode) { slbt_free_exec_ctx(actx); return -1; -- cgit v1.2.3