Commit Graph

9 Commits

Author SHA1 Message Date
Xavier Claessens 744e6ebe1d nasm: Link with windows CRT libs when nasm is used as linker language 2023-02-20 09:58:34 -05:00
Simon McVittie 70286a93b0 asm: Use more backward-compatible invocation syntax for nasm
Before version 2.14.01, -MD required an output filename argument, with
`-MD outfile` equivalent to later versions' `-MD -MF outfile`. The older
syntax is still supported, and is still listed as the preferred syntax
in documentation.

Reference: https://github.com/netwide-assembler/nasm/commit/3475462e
Resolves: https://github.com/mesonbuild/meson/issues/11395
Signed-off-by: Simon McVittie <smcv@collabora.com>
2023-02-14 08:34:57 -05:00
Gijs Peskens 5a4168c410 Fix nasm when target has threads as added dependency 2023-01-18 10:05:33 -05:00
Ole André Vadla Ravnås fa86a9d96d nasm: Fix get_optimization_args() 2022-11-05 19:02:27 -04:00
Xavier Claessens 64a6969def nasm: Implement get_crt_compile_args()
This fix a crash when using NASM on Windows.
2022-11-01 18:51:10 +02:00
Xavier Claessens 2961adb8c8 Compilers: Keep ccache and exelist separated
Only combine them in the Compiler base class, this will make easier to
run compiler without ccache.
2022-10-25 17:24:56 -04:00
Xavier Claessens 942aea230f Add MASM compiler
ml and armasm are Microsoft's Macro Assembler, part of MSVC.
2022-10-24 14:52:13 +02:00
Xavier Claessens d29ef2b128 Add yasm as fallback for nasm language 2022-10-24 11:06:57 +02:00
Xavier Claessens 01ee141339 Add NASM compiler 2022-10-24 11:06:57 +02:00