diff options
| -rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -55,16 +55,16 @@ You can select libstdc++ per package too by writing bbappends for them containin | |||
| 55 | LIBCPLUSPLUS_toolchain-clang_pn-<recipe> = "" | 55 | LIBCPLUSPLUS_toolchain-clang_pn-<recipe> = "" |
| 56 | ``` | 56 | ``` |
| 57 | 57 | ||
| 58 | # Default Compiler Runtime ( Compiler-rt + libcxx ) | 58 | # Default Compiler Runtime ( Compiler-rt + libc++ ) |
| 59 | 59 | ||
| 60 | By default, clang build from meta-clang uses gcc runtime ( libgcc + libstdc++ ) out of box | 60 | By default, clang build from meta-clang uses clang runtime ( compiler-rt + libc++ + libunwind ) out of box |
| 61 | However, it is possible to switch to using Clang runtime as default, In order to do that | 61 | However, it is possible to switch to using gcc runtime as default, In order to do that |
| 62 | following settings are needed in site configurations e.g. in local.conf | 62 | following settings are needed in site configurations e.g. in local.conf |
| 63 | 63 | ||
| 64 | ```python | 64 | ```python |
| 65 | TOOLCHAIN ?= "clang" | 65 | TOOLCHAIN ?= "clang" |
| 66 | TARGET_CXXFLAGS_append_toolchain-clang = " --stdlib=libc++" | 66 | TARGET_CXXFLAGS_remoce_toolchain-clang = " --stdlib=libc++" |
| 67 | TUNE_CCARGS_append_toolchain-clang = " --rtlib=compiler-rt --stdlib=libc++" | 67 | TUNE_CCARGS_remove_toolchain-clang = " --rtlib=compiler-rt --unwindlib=libunwind --stdlib=libc++" |
| 68 | ``` | 68 | ``` |
| 69 | 69 | ||
| 70 | # Building | 70 | # Building |
