summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/logic/slbt_exec_compile.c14
1 files changed, 14 insertions, 0 deletions
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;