summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-09-11 22:14:45 (GMT)
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-02 17:17:54 (GMT)
commit2167eef3bafee588e07e822e9bd8945669e2d802 (patch)
treeed5b4c629991b15f61e8944afa5ab33d19c1ebe4
parentd097a19a3c28bce033b281b3813c224904edba88 (diff)
downloadbuild-2167eef3bafee588e07e822e9bd8945669e2d802.zip
build-2167eef3bafee588e07e822e9bd8945669e2d802.tar.gz
build-2167eef3bafee588e07e822e9bd8945669e2d802.tar.bz2
Clang: use assembler from toolchain, not from system
This fixes build errors with a more recent binutils. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r--core/clang/HOST_x86_common.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/clang/HOST_x86_common.mk b/core/clang/HOST_x86_common.mk
index 950c194..87135e7 100644
--- a/core/clang/HOST_x86_common.mk
+++ b/core/clang/HOST_x86_common.mk
@@ -10,7 +10,8 @@ endif
ifeq ($(HOST_OS),linux)
CLANG_CONFIG_x86_LINUX_HOST_EXTRA_ASFLAGS := \
- --gcc-toolchain=toolchain/gcc/host/install
+ --gcc-toolchain=toolchain/gcc/host/install \
+ -Btoolchain/gcc/host/install/x86_64-linux/bin
CLANG_CONFIG_x86_LINUX_HOST_EXTRA_CFLAGS := \
--gcc-toolchain=toolchain/gcc/host/install \