summaryrefslogtreecommitdiff
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-03-16 04:35:43 -0400
committermidipix <writeonce@midipix.org>2016-03-16 04:35:43 -0400
commitdb67ad0c89bc1100cc7371b8c4b264cc796d85ef (patch)
tree1ee45e266a7a2c7e56c49b9970fc6f8c5c62da52 /src/driver/slbt_driver_ctx.c
parent4df79057b5f599ec5ee6cb16572f9649726301a3 (diff)
downloadslibtool-db67ad0c89bc1100cc7371b8c4b264cc796d85ef.tar.bz2
slibtool-db67ad0c89bc1100cc7371b8c4b264cc796d85ef.tar.xz
driver: added context initialization for explicitly specified host parameters.
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r--src/driver/slbt_driver_ctx.c20
1 files changed, 20 insertions, 0 deletions
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;