diff options
-rw-r--r-- | recipes-devtools/clang/libcxx_git.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb index 38e3555..dd87f1d 100644 --- a/recipes-devtools/clang/libcxx_git.bb +++ b/recipes-devtools/clang/libcxx_git.bb | |||
@@ -8,7 +8,7 @@ SECTION = "base" | |||
8 | require clang.inc | 8 | require clang.inc |
9 | require common-source.inc | 9 | require common-source.inc |
10 | 10 | ||
11 | inherit cmake python3native | 11 | inherit cmake cmake-native python3native |
12 | 12 | ||
13 | PACKAGECONFIG ??= "compiler-rt exceptions ${@bb.utils.contains("RUNTIME", "llvm", "unwind unwind-shared", "", d)}" | 13 | PACKAGECONFIG ??= "compiler-rt exceptions ${@bb.utils.contains("RUNTIME", "llvm", "unwind unwind-shared", "", d)}" |
14 | PACKAGECONFIG_append_armv5 = " no-atomics" | 14 | PACKAGECONFIG_append_armv5 = " no-atomics" |
@@ -25,6 +25,8 @@ DEPENDS_append_class-target = " clang-cross-${TARGET_ARCH} virtual/${MLPREFIX}li | |||
25 | LIBCPLUSPLUS = "" | 25 | LIBCPLUSPLUS = "" |
26 | COMPILER_RT ?= "-rtlib=compiler-rt" | 26 | COMPILER_RT ?= "-rtlib=compiler-rt" |
27 | 27 | ||
28 | CXXFLAGS += "-stdlib=libstdc++" | ||
29 | LDFLAGS += "-unwindlib=libgcc -stdlib=libstdc++" | ||
28 | INHIBIT_DEFAULT_DEPS = "1" | 30 | INHIBIT_DEFAULT_DEPS = "1" |
29 | 31 | ||
30 | LIC_FILES_CHKSUM = "file://libcxx/LICENSE.TXT;md5=55d89dd7eec8d3b4204b680e27da3953 \ | 32 | LIC_FILES_CHKSUM = "file://libcxx/LICENSE.TXT;md5=55d89dd7eec8d3b4204b680e27da3953 \ |
@@ -66,5 +68,7 @@ CXXFLAGS_append_armv5 = " -mfpu=vfp2" | |||
66 | 68 | ||
67 | ALLOW_EMPTY_${PN} = "1" | 69 | ALLOW_EMPTY_${PN} = "1" |
68 | 70 | ||
71 | PROVIDES += "${@bb.utils.contains("RUNTIME", "llvm", "libunwind", "", d)}" | ||
72 | |||
69 | BBCLASSEXTEND = "native nativesdk" | 73 | BBCLASSEXTEND = "native nativesdk" |
70 | TOOLCHAIN = "clang" | 74 | TOOLCHAIN = "clang" |