summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/compilers/asm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/asm.py b/mesonbuild/compilers/asm.py
index bfe436b0b..e25f18d67 100644
--- a/mesonbuild/compilers/asm.py
+++ b/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