Skip to content

Draft: Add --target to LLVM assembler (clang)

Sven Tennie requested to merge wip/supersven/add-LLVMAS-target into master

This is required for cross-compiling with LLVM. Otherwise, the LLVM assembler (clang) tries to assemble for the host arch, which fails as it sees assembly code for the target arch.

I guess this issue didn't show up in CI, because it only cross-compiles for architectures with a native code generator (NCG.)

Edited by Sven Tennie

Merge request reports