summaryrefslogtreecommitdiffhomepage
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-14 01:35:44 +0000
committermidipix <writeonce@midipix.org>2024-02-14 01:57:26 +0000
commit6bc1706e77c607947ac30f96ec0bce3e056b3026 (patch)
treefed9c75b2c866c8300213733699c76a282649717 /src/driver/slbt_driver_ctx.c
parent68760b855037f8f5d03c99db3e5b646674d9cfe6 (diff)
downloadslibtool-6bc1706e77c607947ac30f96ec0bce3e056b3026.tar.bz2
slibtool-6bc1706e77c607947ac30f96ec0bce3e056b3026.tar.xz
driver: added the --as switch (assembler argument to pass through to dlltool).
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r--src/driver/slbt_driver_ctx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 6f96e42..deb8cdc 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -593,6 +593,10 @@ int slbt_get_driver_ctx(
cfgmeta_ar = cfgexplicit;
break;
+ case TAG_AS:
+ cctx.host.as = entry->arg;
+ break;
+
case TAG_RANLIB:
cctx.host.ranlib = entry->arg;
cfgmeta_ranlib = cfgexplicit;