summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-10-16 16:48:20 +0000
committermidipix <writeonce@midipix.org>2019-10-16 16:48:20 +0000
commite86d8c08d408ace36a97b840d2dff2da39a23c60 (patch)
tree703af6dd3d93ddccbf420535950f3bfc8b3f47cd /src/driver
parented8832cef6850eb6f6c0e87a149c623fb44a492d (diff)
downloadslibtool-e86d8c08d408ace36a97b840d2dff2da39a23c60.tar.bz2
slibtool-e86d8c08d408ace36a97b840d2dff2da39a23c60.tar.xz
driver: --heuristics: respect explicit --disable-shared and/or -static.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_driver_ctx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 22eb0bc..5775ee5 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -1581,9 +1581,6 @@ int slbt_get_driver_ctx(
if (slbt_get_lconf_flags(&ctx->ctx,lconf,&lflags) < 0)
return slbt_get_driver_ctx_fail(&ctx->ctx,0);
- cctx.drvflags &= ~(uint64_t)SLBT_DRIVER_DISABLE_STATIC;
- cctx.drvflags &= ~(uint64_t)SLBT_DRIVER_DISABLE_SHARED;
-
cctx.drvflags |= lflags;
cctx.drvflags |= SLBT_DRIVER_SHARED;
cctx.drvflags |= SLBT_DRIVER_STATIC;