ref: 227313ff07836155cf17a43ad5792830d1dbb8b5
parent: b95034ed959dbc24a91df409a35ae8282ba15cdd
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sun Aug 18 14:05:55 EDT 2019
Force -c in clang assembler Without this flag clang tries to assemble and link when it proccess assembly files.
--- a/config/toolchain/clang.mk
+++ b/config/toolchain/clang.mk
@@ -2,6 +2,7 @@
COMP = clang
ASM = clang
+TOOLASFLAGS = -c
LINKER = ld.lld
OBJCOPY = llvm-objcopy
OBJDUMP = llvm-objdump