summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/clang/HOST_x86_common.mk13
1 files changed, 11 insertions, 2 deletions
diff --git a/core/clang/HOST_x86_common.mk b/core/clang/HOST_x86_common.mk
index d961aac..e8b4252 100644
--- a/core/clang/HOST_x86_common.mk
+++ b/core/clang/HOST_x86_common.mk
@@ -22,7 +22,11 @@ CLANG_CONFIG_x86_LINUX_HOST_EXTRA_CPPFLAGS := \
-isystem toolchain/headers/clang
CLANG_CONFIG_x86_LINUX_HOST_EXTRA_LDFLAGS := \
- --gcc-toolchain=toolchain/gcc/host/install
+ --gcc-toolchain=toolchain/gcc/host/install \
+ -Btoolchain/gcc/host/install/x86_64-linux/bin \
+ -Btoolchain/gcc/host/install/lib/gcc/x86_64-linux/4.9 \
+ -Ltoolchain/gcc/host/install/lib/gcc/x86_64-linux/4.9 \
+ -Ltoolchain/gcc/host/install/lib64
else
@@ -31,7 +35,12 @@ CLANG_CONFIG_x86_LINUX_HOST_EXTRA_CPPFLAGS := \
-isystem toolchain/headers/clang
CLANG_CONFIG_x86_LINUX_HOST_EXTRA_LDFLAGS := \
- --gcc-toolchain=toolchain/gcc/host/install
+ --gcc-toolchain=toolchain/gcc/host/install \
+ -Btoolchain/gcc/host/install/x86_64-linux/bin \
+ -Btoolchain/gcc/host/install/lib/gcc/x86_64-linux/4.9/32 \
+ -Ltoolchain/gcc/host/install/lib/gcc/x86_64-linux/4.9/32 \
+ -Ltoolchain/gcc/host/install/lib32
+
endif
endif # Linux