summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/arbits/output/slbt_au_output_symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arbits/output/slbt_au_output_symbols.c b/src/arbits/output/slbt_au_output_symbols.c
index 2e9d6c7..7b51a81 100644
--- a/src/arbits/output/slbt_au_output_symbols.c
+++ b/src/arbits/output/slbt_au_output_symbols.c
@@ -35,7 +35,7 @@ static int slbt_au_output_symbols_posix(
fdout = fdctx->fdout;
fsort = !(dctx->cctx->fmtflags & SLBT_OUTPUT_ARCHIVE_NOSORT);
- fcoff = (mctx->ofmtattr == AR_OBJECT_ATTR_COFF);
+ fcoff = (mctx->ofmtattr & AR_OBJECT_ATTR_COFF);
if (fsort && !mctx->mapstrv)
if (slbt_update_mapstrv(dctx,mctx) < 0)