summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-07-30 23:11:44 -0700
committerKhem Raj <raj.khem@gmail.com>2019-08-12 22:00:22 -0700
commit410caea6379431d07939e0acabdc414bbdb86192 (patch)
treebce58656f126114d3372fb916c48413723ca0e02 /README.md
parent2fa4342ab4cb20872eb97d2b844e0367b1fad90d (diff)
downloadmeta-clang-410caea6379431d07939e0acabdc414bbdb86192.tar.gz
README: Add new info about selecting unwind library
Fix the runtime documentation which was reverse Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index f5e5c26..72849f0 100644
--- a/README.md
+++ b/README.md
@@ -55,16 +55,16 @@ You can select libstdc++ per package too by writing bbappends for them containin
55LIBCPLUSPLUS_toolchain-clang_pn-<recipe> = "" 55LIBCPLUSPLUS_toolchain-clang_pn-<recipe> = ""
56``` 56```
57 57
58# Default Compiler Runtime ( Compiler-rt + libcxx ) 58# Default Compiler Runtime ( Compiler-rt + libc++ )
59 59
60By default, clang build from meta-clang uses gcc runtime ( libgcc + libstdc++ ) out of box 60By default, clang build from meta-clang uses clang runtime ( compiler-rt + libc++ + libunwind ) out of box
61However, it is possible to switch to using Clang runtime as default, In order to do that 61However, it is possible to switch to using gcc runtime as default, In order to do that
62following settings are needed in site configurations e.g. in local.conf 62following settings are needed in site configurations e.g. in local.conf
63 63
64```python 64```python
65TOOLCHAIN ?= "clang" 65TOOLCHAIN ?= "clang"
66TARGET_CXXFLAGS_append_toolchain-clang = " --stdlib=libc++" 66TARGET_CXXFLAGS_remoce_toolchain-clang = " --stdlib=libc++"
67TUNE_CCARGS_append_toolchain-clang = " --rtlib=compiler-rt --stdlib=libc++" 67TUNE_CCARGS_remove_toolchain-clang = " --rtlib=compiler-rt --unwindlib=libunwind --stdlib=libc++"
68``` 68```
69 69
70# Building 70# Building