summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/slibtool/slibtool.h1
-rw-r--r--src/driver/slbt_driver_ctx.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index 5cb60c6..a1fd6b2 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -35,6 +35,7 @@ extern "C" {
#define SLBT_DRIVER_VERSION 0x0010
#define SLBT_DRIVER_DRY_RUN 0x0020
+#define SLBT_DRIVER_CONFIG 0x0040
/* execution modes */
enum slbt_mode {
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 8d586cd..f75e2b4 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -162,6 +162,11 @@ int slbt_get_driver_ctx(
else if (!strcmp("CXX",entry->arg))
cctx.tag = SLBT_TAG_CXX;
break;
+
+ case TAG_CONFIG:
+ cctx.drvflags |= SLBT_DRIVER_CONFIG;
+ break;
+
}
} else
nunits++;