diff options
| author | L. E. Segovia <amy@amyspark.me> | 2024-07-09 19:02:09 -0300 |
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2024-07-10 10:58:48 +0530 |
| commit | 07777c725cf82a5ef4bb5c6d33fdcdbe3d688464 (patch) | |
| tree | f99bd46b7a60064073f950b78f930193daa64629 | |
| parent | 5d417edd64093fd6f5c0df563f23b9586c93e1e3 (diff) | |
| download | meson-07777c725cf82a5ef4bb5c6d33fdcdbe3d688464.tar.gz | |
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.
| -rw-r--r-- | mesonbuild/compilers/asm.py | 2 |
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 |
