Using 'armasm' as an assembler for armclang
@@ -29,7 +29,7 @@ toolchain("armclang")
set_toolset("cxx", "armclang")
set_toolset("ld", "armlink")
set_toolset("ar", "armar")
- set_toolset("as", "armclang")
+ set_toolset("as", "armasm")
on_check(function (toolchain)
import("lib.detect.find_tool")
@@ -59,7 +59,7 @@ toolchain("armclang")
toolchain:add("cxflags", "-target=" .. arch_target)
toolchain:add("cxflags", "-mcpu=" .. arch_cpu)
toolchain:add("asflags", "-target=" .. arch_target)
- toolchain:add("asflags", "-mcpu=" .. arch_cpu)
+ toolchain:add("asflags", "--cpu=" .. arch_cpu)
toolchain:add("ldflags", "--cpu " .. arch_cpu_ld)
end
end)
