diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-08-30 22:57:57 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-09-09 07:59:31 -0700 |
commit | 8d9d3ad0c3ea1ebd6568770dd4a686388db16168 (patch) | |
tree | ee5e70f598210a49f8879331bcb70b5690b99a73 /recipes-devtools/clang/libcxx_git.bb | |
parent | 7275ecf5de4b538080a846b5e415525e2f65507c (diff) | |
download | meta-clang-8d9d3ad0c3ea1ebd6568770dd4a686388db16168.tar.gz |
Disable generating libcxx.so as script for native and nativesdk case
This confuses the libcxx build system and it tries to edit
rpaths in .so files and fails miserably on libcxx.so if it is a linker
script
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-devtools/clang/libcxx_git.bb')
-rw-r--r-- | recipes-devtools/clang/libcxx_git.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb index 6bc86c7..10dd3c8 100644 --- a/recipes-devtools/clang/libcxx_git.bb +++ b/recipes-devtools/clang/libcxx_git.bb | |||
@@ -13,7 +13,7 @@ inherit cmake pythonnative | |||
13 | PV .= "+git${SRCPV}" | 13 | PV .= "+git${SRCPV}" |
14 | 14 | ||
15 | DEPENDS += "ninja-native" | 15 | DEPENDS += "ninja-native" |
16 | BASEDEPENDS_remove_toolchain-clang_class-target = "libcxx" | 16 | BASEDEPENDS_remove_toolchain-clang = "libcxx" |
17 | TARGET_CXXFLAGS_remove_toolchain-clang = " -stdlib=libc++ " | 17 | TARGET_CXXFLAGS_remove_toolchain-clang = " -stdlib=libc++ " |
18 | 18 | ||
19 | PACKAGECONFIG ??= "unwind" | 19 | PACKAGECONFIG ??= "unwind" |
@@ -56,6 +56,8 @@ EXTRA_OECMAKE += "\ | |||
56 | ${S} \ | 56 | ${S} \ |
57 | " | 57 | " |
58 | 58 | ||
59 | EXTRA_OECMAKE_append_class-native = " -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF" | ||
60 | EXTRA_OECMAKE_append_class-nativesdk = " -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF" | ||
59 | EXTRA_OECMAKE_append_libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=ON " | 61 | EXTRA_OECMAKE_append_libc-musl = " -DLIBCXX_HAS_MUSL_LIBC=ON " |
60 | 62 | ||
61 | do_compile() { | 63 | do_compile() { |