summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-13 20:41:21 -0400
committermidipix <writeonce@midipix.org>2018-08-13 20:41:21 -0400
commit1016272717b9c992f66f56667e767f884f0645d3 (patch)
treeb08795f64f50a7e3b4b50ca61b3da72f9e6bf631 /src/driver
parent0263aa24fad4022beae5d3bc80a284750365e4f7 (diff)
downloadslibtool-1016272717b9c992f66f56667e767f884f0645d3.tar.bz2
slibtool-1016272717b9c992f66f56667e767f884f0645d3.tar.xz
utility: convenience symlinks: added rclibtool, rdlibtool, and rdclibtool.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_amain.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/driver/slbt_amain.c b/src/driver/slbt_amain.c
index c060021..2e59849 100644
--- a/src/driver/slbt_amain.c
+++ b/src/driver/slbt_amain.c
@@ -158,6 +158,22 @@ int slbt_main(char ** argv, char ** envp, const struct slbt_fd_ctx * fdctx)
if (!(strcmp(program,"rlibtool")))
flags |= SLBT_DRIVER_HEURISTICS;
+ /* heuristics + legabits */
+ if (!(strcmp(program,"rclibtool")))
+ flags |= (SLBT_DRIVER_HEURISTICS
+ | SLBT_DRIVER_LEGABITS);
+
+ /* heuristics + debug */
+ if (!(strcmp(program,"rdlibtool")))
+ flags |= (SLBT_DRIVER_HEURISTICS
+ | SLBT_DRIVER_DEBUG);
+
+ /* heuristics + debug + legabits */
+ if (!(strcmp(program,"rdclibtool")))
+ flags |= (SLBT_DRIVER_HEURISTICS
+ | SLBT_DRIVER_DEBUG
+ | SLBT_DRIVER_LEGABITS);
+
/* driver context */
if ((ret = slbt_get_driver_ctx(argv,envp,flags,fdctx,&dctx)))
return (ret == SLBT_USAGE)