diff options
| author | Khem Raj <raj.khem@gmail.com> | 2018-09-01 13:16:18 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2018-09-09 07:54:23 -0700 |
| commit | 342f5d5cd78096bf81fe1ed879c5a8fa5ab21950 (patch) | |
| tree | 1f20a2cb406a594bc27f9230edb0cf7f256127bf | |
| parent | 3288f51085698fc376c175ca2f1b6881f514e74d (diff) | |
| download | meta-clang-clang-7.0.tar.gz | |
lld: Do not use libcxx for native and nativesdk variantsclang-7.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | recipes-devtools/clang/lld_git.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-devtools/clang/lld_git.bb b/recipes-devtools/clang/lld_git.bb index fac7081..01a8d5e 100644 --- a/recipes-devtools/clang/lld_git.bb +++ b/recipes-devtools/clang/lld_git.bb | |||
| @@ -6,7 +6,8 @@ HOMEPAGE = "http://lld.llvm.org/" | |||
| 6 | LICENSE = "MIT | NCSA" | 6 | LICENSE = "MIT | NCSA" |
| 7 | SECTION = "devel" | 7 | SECTION = "devel" |
| 8 | 8 | ||
| 9 | DEPENDS += "clang-native libcxx libxml2 ninja-native" | 9 | DEPENDS += "clang-native libxml2 ninja-native" |
| 10 | DEPENDS_append_class-target = " libcxx" | ||
| 10 | 11 | ||
| 11 | require clang.inc | 12 | require clang.inc |
| 12 | require common.inc | 13 | require common.inc |
| @@ -38,7 +39,7 @@ EXTRA_OECMAKE = "\ | |||
| 38 | -G Ninja \ | 39 | -G Ninja \ |
| 39 | ${S} \ | 40 | ${S} \ |
| 40 | " | 41 | " |
| 41 | CXXFLAGS_append_toolchain-clang = " -stdlib=libc++" | 42 | CXXFLAGS_append_class-target_toolchain-clang = " -stdlib=libc++" |
| 42 | 43 | ||
| 43 | do_compile() { | 44 | do_compile() { |
| 44 | ninja ${PARALLEL_MAKE} lld | 45 | ninja ${PARALLEL_MAKE} lld |
| @@ -47,4 +48,5 @@ do_compile() { | |||
| 47 | do_install() { | 48 | do_install() { |
| 48 | DESTDIR=${D} ninja ${PARALLEL_MAKE} tools/lld/install | 49 | DESTDIR=${D} ninja ${PARALLEL_MAKE} tools/lld/install |
| 49 | } | 50 | } |
| 51 | |||
| 50 | BBCLASSEXTEND = "native nativesdk" | 52 | BBCLASSEXTEND = "native nativesdk" |
