From 27a8e18211ae952857b5749fd21587b5a5ca3eaa Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 20 Mar 2016 12:24:55 -0400 Subject: struct slbt_exec_ctx: distinguish between the compiler and the invoked program. --- src/logic/slbt_exec_compile.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/logic/slbt_exec_compile.c') 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)) { -- cgit v1.2.3