diff options
author | midipix <writeonce@midipix.org> | 2016-03-06 14:44:42 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-03-08 14:21:08 -0500 |
commit | 25956b76b3b85d88987710d589babc9029f5103d (patch) | |
tree | c4fea2e2f3ad44a6bba2921539c8071c1e660c68 | |
parent | 3984195251ab90b2479a485ecb9017c67a3d6843 (diff) | |
download | slibtool-25956b76b3b85d88987710d589babc9029f5103d.tar.bz2 slibtool-25956b76b3b85d88987710d589babc9029f5103d.tar.xz |
driver: added context initialization for --verbose.
-rw-r--r-- | include/slibtool/slibtool.h | 1 | ||||
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index cb1a71f..7403234 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -40,6 +40,7 @@ extern "C" { #define SLBT_DRIVER_FEATURES 0x0100 #define SLBT_DRIVER_DEPS 0x0200 #define SLBT_DRIVER_SILENT 0x0400 +#define SLBT_DRIVER_VERBOSE 0x0800 /* execution modes */ enum slbt_mode { diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index e29d9ed..f3e0f68 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -193,6 +193,10 @@ int slbt_get_driver_ctx( case TAG_SILENT: cctx.drvflags |= SLBT_DRIVER_SILENT; break; + + case TAG_VERBOSE: + cctx.drvflags |= SLBT_DRIVER_VERBOSE; + break; } } else nunits++; |