Skip to content

Commit

Permalink
nasm: Add -mms-bitfields to the list of ignored flags
Browse files Browse the repository at this point in the history
Fixes building Nasm objects with Meson's native language support, when
depending against a library that exports that flag, like Glib.

(cherry picked from commit 07777c7)
  • Loading branch information
amyspark authored and eli-schwartz committed Jul 10, 2024
1 parent 547737e commit ebfb2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/compilers/asm.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def get_output_args(self, outputname: str) -> T.List[str]:
def unix_args_to_native(self, args: T.List[str]) -> T.List[str]:
outargs: T.List[str] = []
for arg in args:
if arg == '-pthread':
if arg in {'-mms-bitfields', '-pthread'}:
continue
outargs.append(arg)
return outargs
Expand Down

0 comments on commit ebfb2b6

Please sign in to comment.