summaryrefslogtreecommitdiffhomepage
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-03 19:46:57 -0400
committermidipix <writeonce@midipix.org>2016-04-04 18:04:52 -0400
commit93b62c7d9abbb324853cd0df1ff5aeda27e3b5aa (patch)
treeebb90d4c2f1ad8c87b060edfb4f182d6645f1302 /src/driver/slbt_driver_ctx.c
parentb1f9773c9f2e22980e7835813e29c5866287336c (diff)
downloadslibtool-93b62c7d9abbb324853cd0df1ff5aeda27e3b5aa.tar.bz2
slibtool-93b62c7d9abbb324853cd0df1ff5aeda27e3b5aa.tar.xz
driver: added -no-undefined support.
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 be43926..cb4aefb 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -697,6 +697,10 @@ int slbt_get_driver_ctx(
cctx.drvflags |= SLBT_DRIVER_ANTI_PIC;
break;
+ case TAG_NO_UNDEFINED:
+ cctx.drvflags |= SLBT_DRIVER_NO_UNDEFINED;
+ break;
+
case TAG_SHARED:
cctx.drvflags &= ~(uint64_t)SLBT_DRIVER_STATIC;
break;