summaryrefslogtreecommitdiff
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r--src/driver/slbt_driver_ctx.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index d7e8c14..1567b92 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -201,6 +201,14 @@ int slbt_get_driver_ctx(
case TAG_OUTPUT:
cctx.output = entry->arg;
break;
+
+ case TAG_PREFER_PIC:
+ cctx.drvflags |= SLBT_DRIVER_PRO_PIC;
+ break;
+
+ case TAG_PREFER_NON_PIC:
+ cctx.drvflags |= SLBT_DRIVER_ANTI_PIC;
+ break;
}
} else
nunits++;