diff options
| author | Robin Lee <cheeselee@fedoraproject> | 2018-03-03 16:27:36 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2018-03-03 02:00:11 -0800 |
| commit | 32305699e5de8ca806db0ba08dbf75bdbf85fe97 (patch) | |
| tree | 49d9578a9964eb027af76640fbce9b9ca0226587 /recipes-devtools | |
| parent | c87d0d3bcc60c08c4e757279329e3719c0e7e504 (diff) | |
| download | meta-clang-32305699e5de8ca806db0ba08dbf75bdbf85fe97.tar.gz | |
libcxx: Add settings to build with libcxx as default C++ standard library
Signed-off-by: Robin Lee <cheeselee@fedoraproject>
Diffstat (limited to 'recipes-devtools')
| -rw-r--r-- | recipes-devtools/clang/compiler-rt_git.bb | 1 | ||||
| -rw-r--r-- | recipes-devtools/clang/libcxx_git.bb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/recipes-devtools/clang/compiler-rt_git.bb b/recipes-devtools/clang/compiler-rt_git.bb index 834d2d6..ae21806 100644 --- a/recipes-devtools/clang/compiler-rt_git.bb +++ b/recipes-devtools/clang/compiler-rt_git.bb | |||
| @@ -27,6 +27,7 @@ SRCREV_FORMAT = "compiler-rt" | |||
| 27 | 27 | ||
| 28 | BASEDEPENDS_remove_toolchain-clang_class-target = "compiler-rt" | 28 | BASEDEPENDS_remove_toolchain-clang_class-target = "compiler-rt" |
| 29 | BASEDEPENDS_remove_toolchain-clang_class-target = "libcxx" | 29 | BASEDEPENDS_remove_toolchain-clang_class-target = "libcxx" |
| 30 | TARGET_CXXFLAGS_remove_toolchain-clang = " -stdlib=libc++ " | ||
| 30 | 31 | ||
| 31 | DEPENDS += "ninja-native" | 32 | DEPENDS += "ninja-native" |
| 32 | 33 | ||
diff --git a/recipes-devtools/clang/libcxx_git.bb b/recipes-devtools/clang/libcxx_git.bb index 0f3b2a8..57f0654 100644 --- a/recipes-devtools/clang/libcxx_git.bb +++ b/recipes-devtools/clang/libcxx_git.bb | |||
| @@ -14,6 +14,7 @@ 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_class-target = "libcxx" |
| 17 | TARGET_CXXFLAGS_remove_toolchain-clang = " -stdlib=libc++ " | ||
| 17 | 18 | ||
| 18 | PROVIDES = "libunwind" | 19 | PROVIDES = "libunwind" |
| 19 | PROVIDES_remove_mipsarch = "libunwind" | 20 | PROVIDES_remove_mipsarch = "libunwind" |
