aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
authorL. E. Segovia <amy@amyspark.me>2024-04-09 22:09:11 -0300
committerL. E. Segovia <amy@amyspark.me>2024-04-09 22:11:04 -0300
commit6c090cab510368e5a678ac3d3b1c59fba1b182f5 (patch)
treeada7ea177a57d9204bddddee07b089f4f05a4b97 /mesonbuild/compilers
parent5e10033eb5aebeaa835a2eab800defad68916ce5 (diff)
downloadmeson-6c090cab510368e5a678ac3d3b1c59fba1b182f5.zip
meson-6c090cab510368e5a678ac3d3b1c59fba1b182f5.tar.gz
meson-6c090cab510368e5a678ac3d3b1c59fba1b182f5.tar.bz2
nasm, yasm: Fix debug flags for Windows and macOS
Diffstat (limited to 'mesonbuild/compilers')
-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 0cf8cff..bfe436b 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