Skip to content

Commit ebfb2b6

Browse files
amysparkeli-schwartz
authored andcommitted
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. (cherry picked from commit 07777c7)
1 parent 547737e commit ebfb2b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mesonbuild/compilers/asm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def get_output_args(self, outputname: str) -> T.List[str]:
7373
def unix_args_to_native(self, args: T.List[str]) -> T.List[str]:
7474
outargs: T.List[str] = []
7575
for arg in args:
76-
if arg == '-pthread':
76+
if arg in {'-mms-bitfields', '-pthread'}:
7777
continue
7878
outargs.append(arg)
7979
return outargs

0 commit comments

Comments
 (0)