summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-08-10 18:48:23 -0400
committermidipix <writeonce@midipix.org>2017-08-10 18:48:23 -0400
commit20ff20dd8ed591059ada51e9bd8ecc154a2d270e (patch)
tree0987238af2811164fac14b5c905b15c95a23b3f8
parent4df68fcd282811eacedf8b1a4253d4982ee9e78c (diff)
downloadslibtool-20ff20dd8ed591059ada51e9bd8ecc154a2d270e.tar.bz2
slibtool-20ff20dd8ed591059ada51e9bd8ecc154a2d270e.tar.xz
driver: properly handle -thread-safe (no-op, compatibility).
-rw-r--r--src/driver/slbt_driver_ctx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 9b984e0..47afa83 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -339,6 +339,9 @@ static int slbt_split_argv(
*targv++ = argv[i++];
*targv++ = argv[i];
+ } else if (!(strcmp("thread-safe",&argv[i][1]))) {
+ (void)0;
+
} else {
for (popt=optout; popt[0] && popt[0]->long_name; popt++)
if (!(strcmp(popt[0]->long_name,&argv[i][1])))