summaryrefslogtreecommitdiffstats
path: root/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/clang/clang_git.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/recipes-devtools/clang/clang_git.bb b/recipes-devtools/clang/clang_git.bb
index 5730b9b..bd09da5 100644
--- a/recipes-devtools/clang/clang_git.bb
+++ b/recipes-devtools/clang/clang_git.bb
@@ -51,11 +51,14 @@ def get_clang_host_arch(bb, d):
51def get_clang_target_arch(bb, d): 51def get_clang_target_arch(bb, d):
52 return get_clang_arch(bb, d, 'TARGET_ARCH') 52 return get_clang_arch(bb, d, 'TARGET_ARCH')
53 53
54PACKAGECONFIG ??= "compiler-rt libcplusplus" 54PACKAGECONFIG ??= "compiler-rt libcplusplus shared-libs"
55PACKAGECONFIG_class-native = "" 55PACKAGECONFIG_class-native = ""
56PACKAGECONFIG_class-nativesdk = "compiler-rt libcplusplus"
56 57
57PACKAGECONFIG[compiler-rt] = "-DCLANG_DEFAULT_RTLIB=compiler-rt,,compiler-rt" 58PACKAGECONFIG[compiler-rt] = "-DCLANG_DEFAULT_RTLIB=compiler-rt,,compiler-rt"
58PACKAGECONFIG[libcplusplus] = "-DCLANG_DEFAULT_CXX_STDLIB=libc++,,libcxx" 59PACKAGECONFIG[libcplusplus] = "-DCLANG_DEFAULT_CXX_STDLIB=libc++,,libcxx"
60PACKAGECONFIG[shared-libs] = "-DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON,,,"
61
59# 62#
60# Default to build all OE-Core supported target arches (user overridable). 63# Default to build all OE-Core supported target arches (user overridable).
61# 64#
@@ -92,8 +95,6 @@ EXTRA_OECMAKE_append_class-nativesdk = "\
92" 95"
93EXTRA_OECMAKE_append_class-target = "\ 96EXTRA_OECMAKE_append_class-target = "\
94 -DCMAKE_CROSSCOMPILING:BOOL=ON \ 97 -DCMAKE_CROSSCOMPILING:BOOL=ON \
95 -DLLVM_BUILD_LLVM_DYLIB=ON \
96 -DLLVM_LINK_LLVM_DYLIB=ON \
97 -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen \ 98 -DLLVM_TABLEGEN=${STAGING_BINDIR_NATIVE}/llvm-tblgen \
98 -DCLANG_TABLEGEN=${STAGING_BINDIR_NATIVE}/clang-tblgen \ 99 -DCLANG_TABLEGEN=${STAGING_BINDIR_NATIVE}/clang-tblgen \
99 -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS_TO_BUILD_TARGET}' \ 100 -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS_TO_BUILD_TARGET}' \