summaryrefslogtreecommitdiff
path: root/src/driver/slbt_amain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/slbt_amain.c')
-rw-r--r--src/driver/slbt_amain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/driver/slbt_amain.c b/src/driver/slbt_amain.c
index e0d6bb9..c060021 100644
--- a/src/driver/slbt_amain.c
+++ b/src/driver/slbt_amain.c
@@ -154,6 +154,10 @@ int slbt_main(char ** argv, char ** envp, const struct slbt_fd_ctx * fdctx)
if ((program[8] == '-') || (program[8] == '.'))
flags |= SLBT_DRIVER_LEGABITS;
+ /* heuristics */
+ if (!(strcmp(program,"rlibtool")))
+ flags |= SLBT_DRIVER_HEURISTICS;
+
/* driver context */
if ((ret = slbt_get_driver_ctx(argv,envp,flags,fdctx,&dctx)))
return (ret == SLBT_USAGE)