From 874b595d141abd86bf5253ca835471c828b4e8be Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 17 Feb 2024 20:19:03 +0000 Subject: ar mode: pretty printer: symbols, mapfile: added the -Wnosort switch. --- src/arbits/output/slbt_ar_output_mapfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arbits/output/slbt_ar_output_mapfile.c') 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); -- cgit v1.2.3