summaryrefslogtreecommitdiff
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-03-16 04:16:40 -0400
committermidipix <writeonce@midipix.org>2016-03-16 04:30:56 -0400
commit4df79057b5f599ec5ee6cb16572f9649726301a3 (patch)
treec1f39ee956f4ec0a0620eb5de037d8ea558aefa1 /src/driver/slbt_driver_ctx.c
parenta2fcc08f33c793c6253ac41045e959692bf89156 (diff)
downloadslibtool-4df79057b5f599ec5ee6cb16572f9649726301a3.tar.bz2
slibtool-4df79057b5f599ec5ee6cb16572f9649726301a3.tar.xz
driver: added context initialization for --target.
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 bb9343a..a207c5b 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -332,6 +332,10 @@ int slbt_get_driver_ctx(
cctx.output = entry->arg;
break;
+ case TAG_TARGET:
+ cctx.target = entry->arg;
+ break;
+
case TAG_PREFER_PIC:
cctx.drvflags |= SLBT_DRIVER_PRO_PIC;
break;