summaryrefslogtreecommitdiff
path: root/src/arbits/output/slbt_ar_output_symbols.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arbits/output/slbt_ar_output_symbols.c')
-rw-r--r--src/arbits/output/slbt_ar_output_symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arbits/output/slbt_ar_output_symbols.c b/src/arbits/output/slbt_ar_output_symbols.c
index 167de50..72dd3e0 100644
--- a/src/arbits/output/slbt_ar_output_symbols.c
+++ b/src/arbits/output/slbt_ar_output_symbols.c
@@ -33,7 +33,7 @@ static int slbt_ar_output_symbols_posix(
regmatch_t pmatch[2] = {0};
fdout = fdctx->fdout;
- fsort = true;
+ fsort = !(dctx->cctx->fmtflags & SLBT_OUTPUT_ARCHIVE_NOSORT);
if (fsort && !mctx->mapstrv)
if (slbt_update_mapstrv(dctx,mctx) < 0)