diff options
author | midipix <writeonce@midipix.org> | 2016-03-18 20:22:16 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-03-18 20:22:16 -0400 |
commit | db30c2bebc9fa1437777a72c7e6d2fe62fa496d1 (patch) | |
tree | f24887340b51267a72a636a6ab1a43584fc49b14 /src/logic/slbt_exec_compile.c | |
parent | 6f991bf7dbfc282e42e16cfd2abfd6093cbc90ad (diff) | |
download | slibtool-db30c2bebc9fa1437777a72c7e6d2fe62fa496d1.tar.bz2 slibtool-db30c2bebc9fa1437777a72c7e6d2fe62fa496d1.tar.xz |
slbt_exec_compile(): output compilation steps when not in silent mode.
Diffstat (limited to 'src/logic/slbt_exec_compile.c')
-rw-r--r-- | src/logic/slbt_exec_compile.c | 14 |
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; |