From 6c090cab510368e5a678ac3d3b1c59fba1b182f5 Mon Sep 17 00:00:00 2001 From: "L. E. Segovia" Date: Tue, 9 Apr 2024 22:09:11 -0300 Subject: [PATCH] nasm, yasm: Fix debug flags for Windows and macOS --- mesonbuild/compilers/asm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/compilers/asm.py b/mesonbuild/compilers/asm.py index 0cf8cffd3..bfe436b0b 100644 --- a/mesonbuild/compilers/asm.py +++ b/mesonbuild/compilers/asm.py @@ -27,7 +27,6 @@ nasm_optimization_args: T.Dict[str, T.List[str]] = { class NasmCompiler(Compiler): language = 'nasm' id = 'nasm' - links_with_msvc = False # https://learn.microsoft.com/en-us/cpp/c-runtime-library/crt-library-features crt_args: T.Dict[str, T.List[str]] = { @@ -43,6 +42,7 @@ class NasmCompiler(Compiler): linker: T.Optional['DynamicLinker'] = None, full_version: T.Optional[str] = None, is_cross: bool = False): super().__init__(ccache, exelist, version, for_machine, info, linker, full_version, is_cross) + self.links_with_msvc = False if 'link' in self.linker.id: self.base_options.add(OptionKey('b_vscrt')) self.links_with_msvc = True