summaryrefslogtreecommitdiff
path: root/src/arbits/output/slbt_ar_output_mapfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arbits/output/slbt_ar_output_mapfile.c')
-rw-r--r--src/arbits/output/slbt_ar_output_mapfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arbits/output/slbt_ar_output_mapfile.c b/src/arbits/output/slbt_ar_output_mapfile.c
index 3455c37..ab85394 100644
--- a/src/arbits/output/slbt_ar_output_mapfile.c
+++ b/src/arbits/output/slbt_ar_output_mapfile.c
@@ -27,7 +27,7 @@ static int slbt_ar_output_mapfile_impl(
regex_t regctx;
regmatch_t pmatch[2] = {0};
- fsort = true;
+ fsort = !(dctx->cctx->fmtflags & SLBT_OUTPUT_ARCHIVE_NOSORT);
if (slbt_dprintf(fdout,"{\n" "\t" "global:\n") < 0)
return SLBT_SYSTEM_ERROR(dctx,0);