summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-16 07:32:01 +0000
committermidipix <writeonce@midipix.org>2024-02-16 07:32:01 +0000
commitba922898a1106882fa7f1228dd64c2d3587e0dc5 (patch)
tree6408f0c20693ca34ca543deab47707cf1f4aa938 /src/driver
parent2611275c5f0a180c96963c9b1c4d2f1d76a04b5d (diff)
downloadslibtool-ba922898a1106882fa7f1228dd64c2d3587e0dc5.tar.bz2
slibtool-ba922898a1106882fa7f1228dd64c2d3587e0dc5.tar.xz
driver: host.as: added support for tool-specific argument vector.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_driver_ctx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index bbc1dd9..50c1a9b 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -948,6 +948,9 @@ int slbt_get_driver_ctx(
if (slbt_driver_parse_tool_argv(ctx->cctx.host.ranlib,&ctx->host.ranlib_argv) < 0)
return slbt_get_driver_ctx_fail(&ctx->ctx,0);
+ if (slbt_driver_parse_tool_argv(ctx->cctx.host.as,&ctx->host.as_argv) < 0)
+ return slbt_get_driver_ctx_fail(&ctx->ctx,0);
+
/* flavor settings */
slbt_init_flavor_settings(
&ctx->cctx,0,