commit 227313ff07836155cf17a43ad5792830d1dbb8b5
parent b95034ed959dbc24a91df409a35ae8282ba15cdd
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sun, 18 Aug 2019 18:05:55 +0100
Force -c in clang assembler
Without this flag clang tries to assemble and link when it
proccess assembly files.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/config/toolchain/clang.mk b/config/toolchain/clang.mk
@@ -2,6 +2,7 @@ include $(PROJECTDIR)/config/toolchain/gnu.mk
COMP = clang
ASM = clang
+TOOLASFLAGS = -c
LINKER = ld.lld
OBJCOPY = llvm-objcopy
OBJDUMP = llvm-objdump