diff options
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -51,7 +51,7 @@ LIBCPLUSPLUS = "" | |||
51 | in `local.conf`. | 51 | in `local.conf`. |
52 | You can select libstdc++ per package too by writing bbappends for them containing | 52 | You can select libstdc++ per package too by writing bbappends for them containing |
53 | 53 | ||
54 | ```python | 54 | ```shell |
55 | LIBCPLUSPLUS_toolchain-clang_pn-<recipe> = "" | 55 | LIBCPLUSPLUS_toolchain-clang_pn-<recipe> = "" |
56 | ``` | 56 | ``` |
57 | 57 | ||
@@ -59,7 +59,7 @@ LIBCPLUSPLUS_toolchain-clang_pn-<recipe> = "" | |||
59 | 59 | ||
60 | By default, clang build from meta-clang uses clang runtime ( compiler-rt + libc++ + libunwind ) 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 gcc 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 | ```shell | 64 | ```shell |
65 | TOOLCHAIN ?= "clang" | 65 | TOOLCHAIN ?= "clang" |
@@ -91,7 +91,7 @@ TOOLCHAIN_pn-<recipe> = "gcc" | |||
91 | 91 | ||
92 | and OE will start using gcc to cross compile that recipe. | 92 | and OE will start using gcc to cross compile that recipe. |
93 | 93 | ||
94 | And if a component does not build with libc++, you can add it to conf/nonclangable.inc e.g. | 94 | And if a component does not build with libc++, you can add it to `conf/nonclangable.inc` e.g. |
95 | 95 | ||
96 | ```shell | 96 | ```shell |
97 | CXX_remove_pn-<recipe>_toolchain-clang = " -stdlib=libc++ " | 97 | CXX_remove_pn-<recipe>_toolchain-clang = " -stdlib=libc++ " |