summaryrefslogtreecommitdiffhomepage
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r--src/driver/slbt_driver_ctx.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 3eb7231..8d586cd 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -154,6 +154,14 @@ int slbt_get_driver_ctx(
case TAG_DRY_RUN:
cctx.drvflags |= SLBT_DRIVER_DRY_RUN;
break;
+
+ case TAG_TAG:
+ if (!strcmp("CC",entry->arg))
+ cctx.tag = SLBT_TAG_CC;
+
+ else if (!strcmp("CXX",entry->arg))
+ cctx.tag = SLBT_TAG_CXX;
+ break;
}
} else
nunits++;