diff options
author | midipix <writeonce@midipix.org> | 2016-04-21 21:05:17 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-21 21:05:17 -0400 |
commit | 0e609bfcff021c701474af9095eb0ba57d9eeeb0 (patch) | |
tree | 2734622945c544d0571dfe5dd2cd89a11f8c2b2a /src/driver | |
parent | 94ae747d1e600883992c26349e39fea05bdc16c4 (diff) | |
download | slibtool-0e609bfcff021c701474af9095eb0ba57d9eeeb0.tar.bz2 slibtool-0e609bfcff021c701474af9095eb0ba57d9eeeb0.tar.xz |
driver: added -disable-static support [no-op].
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 8caa5cb..544e485 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -702,6 +702,9 @@ int slbt_get_driver_ctx( else if (!strcmp("NASM",entry->arg)) cctx.tag = SLBT_TAG_NASM; + + else if (!strcmp("disable-static",entry->arg)) + cctx.drvflags |= SLBT_DRIVER_DISABLE_STATIC; break; case TAG_CONFIG: @@ -811,6 +814,10 @@ int slbt_get_driver_ctx( cctx.drvflags |= SLBT_DRIVER_ALL_STATIC; break; + case TAG_DISABLE_STATIC: + cctx.drvflags |= SLBT_DRIVER_DISABLE_STATIC; + break; + case TAG_AVOID_VERSION: cctx.drvflags |= SLBT_DRIVER_AVOID_VERSION; break; |