From 53f4ecfce0579e4e7893dc4ef94f5e50f5db2f4f Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 6 Mar 2016 13:41:47 -0500 Subject: driver: added context initialization for --tag. --- src/driver/slbt_driver_ctx.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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++; -- cgit v1.2.3