nasm: Add -mms-bitfields to the list of ignored flags

Fixes building Nasm objects with Meson's native language support, when
depending against a library that exports that flag, like Glib.
pull/13086/merge
L. E. Segovia 7 months ago committed by Nirbheek Chauhan
parent 5d417edd64
commit 07777c725c
  1. 2
      mesonbuild/compilers/asm.py

@ -75,7 +75,7 @@ class NasmCompiler(Compiler):
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

Loading…
Cancel
Save