diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-05-22 18:38:27 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2017-05-22 18:38:27 -0700 |
commit | c1dbc0aa3bc9cc9e51fa00d9cd07b8ab5acf3ce9 (patch) | |
tree | 02e8837f3d9b892ad387da255cef77b5a86d52d2 /recipes-devtools/clang/clang/0006-clang-Define-releative-gcc-installation-dir.patch | |
parent | 2baa00b8a919a1c29c891b900a48239856d01438 (diff) | |
download | meta-clang-c1dbc0aa3bc9cc9e51fa00d9cd07b8ab5acf3ce9.tar.gz |
clang/llvm: Move to upcoming 5.0.0 ( trunk ) release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/clang/clang/0006-clang-Define-releative-gcc-installation-dir.patch')
-rw-r--r-- | recipes-devtools/clang/clang/0006-clang-Define-releative-gcc-installation-dir.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-devtools/clang/clang/0006-clang-Define-releative-gcc-installation-dir.patch b/recipes-devtools/clang/clang/0006-clang-Define-releative-gcc-installation-dir.patch new file mode 100644 index 0000000..473f610 --- /dev/null +++ b/recipes-devtools/clang/clang/0006-clang-Define-releative-gcc-installation-dir.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From b56c57ef523bed20dc9e9beb271667a85cf56478 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 21 May 2017 15:38:25 -0700 | ||
4 | Subject: [PATCH 6/6] clang: Define / releative gcc installation dir | ||
5 | |||
6 | This is required for OE gcc installation to work. | ||
7 | Without this its not able to find the paths for libgcc | ||
8 | and other standard headers and libraries from gcc | ||
9 | installation in OE | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | lib/Driver/ToolChains/Gnu.cpp | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | Index: clang/lib/Driver/ToolChains/Gnu.cpp | ||
17 | =================================================================== | ||
18 | --- clang.orig/lib/Driver/ToolChains/Gnu.cpp | ||
19 | +++ clang/lib/Driver/ToolChains/Gnu.cpp | ||
20 | @@ -2101,6 +2101,7 @@ void Generic_GCC::GCCInstallationDetecto | ||
21 | |||
22 | // Debian puts cross-compilers in gcc-cross. | ||
23 | {"gcc-cross/" + CandidateTriple.str(), "../..", true}, | ||
24 | + {"/" + CandidateTriple.str(), "..", true}, | ||
25 | |||
26 | // The Freescale PPC SDK has the gcc libraries in | ||
27 | // <sysroot>/usr/lib/<triple>/x.y.z so have a look there as well. Only do | ||