diff options
| author | Khem Raj <raj.khem@gmail.com> | 2019-04-03 16:48:33 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-04-03 22:53:12 -0700 |
| commit | b810df9acb6c3c45b1c1ae63a124c1232a58d79c (patch) | |
| tree | b3b0ee1c41b8d6e1e45752f81b79d64440b83ec0 | |
| parent | 42b77651923e31ea6ab891c188adb486535e3007 (diff) | |
| download | meta-clang-b810df9acb6c3c45b1c1ae63a124c1232a58d79c.tar.gz | |
clang: Add compiler-rt and libcxx-dev to runtime deps
When installing clang to target its important to get these dependencies
along with other llvm runtime, so clang can work out of box
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | recipes-devtools/clang/clang_git.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-devtools/clang/clang_git.bb b/recipes-devtools/clang/clang_git.bb index 8298c81..a02d283 100644 --- a/recipes-devtools/clang/clang_git.bb +++ b/recipes-devtools/clang/clang_git.bb | |||
| @@ -52,7 +52,7 @@ PACKAGECONFIG ??= "compiler-rt libcplusplus shared-libs ${@bb.utils.filter('DIST | |||
| 52 | PACKAGECONFIG_class-native = "" | 52 | PACKAGECONFIG_class-native = "" |
| 53 | PACKAGECONFIG_class-nativesdk = "thin-lto" | 53 | PACKAGECONFIG_class-nativesdk = "thin-lto" |
| 54 | 54 | ||
| 55 | PACKAGECONFIG[compiler-rt] = "-DCLANG_DEFAULT_RTLIB=compiler-rt,,libcxx" | 55 | PACKAGECONFIG[compiler-rt] = "-DCLANG_DEFAULT_RTLIB=compiler-rt,,libcxx,compiler-rt" |
| 56 | PACKAGECONFIG[libcplusplus] = "-DCLANG_DEFAULT_CXX_STDLIB=libc++,,libcxx" | 56 | PACKAGECONFIG[libcplusplus] = "-DCLANG_DEFAULT_CXX_STDLIB=libc++,,libcxx" |
| 57 | PACKAGECONFIG[thin-lto] = "-DLLVM_ENABLE_LTO=Thin -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR},,binutils," | 57 | PACKAGECONFIG[thin-lto] = "-DLLVM_ENABLE_LTO=Thin -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR},,binutils," |
| 58 | PACKAGECONFIG[full-lto] = "-DLLVM_ENABLE_LTO=Full -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR},,binutils," | 58 | PACKAGECONFIG[full-lto] = "-DLLVM_ENABLE_LTO=Full -DLLVM_BINUTILS_INCDIR=${STAGING_INCDIR},,binutils," |
| @@ -146,6 +146,7 @@ LLVM_TARGETS_TO_BUILD;LLVM_EXPERIMENTAL_TARGETS_TO_BUILD;\ | |||
| 146 | " | 146 | " |
| 147 | 147 | ||
| 148 | RRECOMMENDS_${PN} = "binutils" | 148 | RRECOMMENDS_${PN} = "binutils" |
| 149 | RRECOMMENDS_${PN}_append_class-target = " libcxx-dev" | ||
| 149 | 150 | ||
| 150 | do_compile() { | 151 | do_compile() { |
| 151 | ninja ${PARALLEL_MAKE} ${BOOTSTRAPSTAGE} | 152 | ninja ${PARALLEL_MAKE} ${BOOTSTRAPSTAGE} |
