From db30c2bebc9fa1437777a72c7e6d2fe62fa496d1 Mon Sep 17 00:00:00 2001 From: midipix Date: Mar 19 2016 00:22:16 +0000 Subject: slbt_exec_compile(): output compilation steps when not in silent mode. --- 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;