summaryrefslogtreecommitdiff
path: root/src/logic/slbt_exec_compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic/slbt_exec_compile.c')
-rw-r--r--src/logic/slbt_exec_compile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_compile.c b/src/logic/slbt_exec_compile.c
index 728ff65..b88ea10 100644
--- a/src/logic/slbt_exec_compile.c
+++ b/src/logic/slbt_exec_compile.c
@@ -40,6 +40,10 @@ int slbt_exec_compile(
}
}
+ /* compile mode */
+ ectx->program = ectx->compiler;
+ ectx->argv = ectx->cargv;
+
/* shared library object */
if (dctx->cctx->drvflags & SLBT_DRIVER_SHARED) {
if (!(dctx->cctx->drvflags & SLBT_DRIVER_ANTI_PIC)) {