diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-01-08 15:38:13 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-01-02 18:17:03 +0100 |
commit | 443827f24e85d32c8e12856a1910e98177e36fbb (patch) | |
tree | a81de722937aa1aa492c2df2202c15db22dbdc37 | |
parent | fb544738afe54575997056bc1f1e95923416ebd0 (diff) | |
download | build-443827f24e85d32c8e12856a1910e98177e36fbb.tar.gz build-443827f24e85d32c8e12856a1910e98177e36fbb.tar.bz2 build-443827f24e85d32c8e12856a1910e98177e36fbb.zip |
clang: fix linking
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r-- | core/clang/HOST_x86_common.mk | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/core/clang/HOST_x86_common.mk b/core/clang/HOST_x86_common.mk index d961aac08..e8b42528d 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 |