From db80f8870d6922462e7073f7da1140140087ca76 Mon Sep 17 00:00:00 2001 From: midipix Date: Feb 20 2024 03:36:21 +0000 Subject: slbt_au_output_symbols_posix(): treat AR_OBJECT_ATTR_COFF as an or'able attr. --- 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)