nasm, yasm: Fix debug flags for Windows and macOS

pull/11737/head
L. E. Segovia 8 months ago
parent 5e10033eb5
commit 6c090cab51
  1. 2
      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

Loading…
Cancel
Save