From db67ad0c89bc1100cc7371b8c4b264cc796d85ef Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 16 Mar 2016 04:35:43 -0400 Subject: driver: added context initialization for explicitly specified host parameters. --- src/driver/slbt_driver_ctx.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/driver') diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index a207c5b..0dd94d4 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -328,6 +328,26 @@ int slbt_get_driver_ctx( cctx.drvflags |= SLBT_DRIVER_VERBOSE; break; + case TAG_HOST: + cctx.host.host = entry->arg; + break; + + case TAG_FLAVOR: + cctx.host.flavor = entry->arg; + break; + + case TAG_AR: + cctx.host.ar = entry->arg; + break; + + case TAG_RANLIB: + cctx.host.ranlib = entry->arg; + break; + + case TAG_DLLTOOL: + cctx.host.dlltool = entry->arg; + break; + case TAG_OUTPUT: cctx.output = entry->arg; break; -- cgit v1.2.3