summaryrefslogtreecommitdiff
path: root/docs/markdown/Users.md
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2023-06-08 08:13:40 -0400
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2024-04-26 23:09:30 +0530
commit6a1732a29d315aeef2d0a81394b2846c97df42c0 (patch)
tree76ec2633731eb70d1e4c595e01dba141efcd9436 /docs/markdown/Users.md
parente4d2aac988925d1f7b8eae762ec24f6af63569df (diff)
downloadmeson-6a1732a29d315aeef2d0a81394b2846c97df42c0.tar.gz
nasm: Fallback to native compiler when cross compiling
If nasm is not defined in cross file binaries we can fallback to build machine nasm. When cross compiling C code we need a different gcc binary for native and cross targets, e.g. `gcc` and `x86_64-w64-mingw32-gcc`. But when cross compiling NASM code the compiler is the same, it is the source code that has to be made for the target platform. We can thus use nasm from build machine's PATH to cross compile for Windows on Linux for example. The difference is the arguments Meson will pass when invoking nasm e.g. `-fwin64`. That is already handled by NasmCompiler class.
Diffstat (limited to 'docs/markdown/Users.md')
0 files changed, 0 insertions, 0 deletions