diff options
author | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 2021-08-02 09:45:55 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-08-03 10:00:28 -0700 |
commit | 17737cc4ecd3aea2c978bf83e283bcb08d097487 (patch) | |
tree | a4386a37907d9110572105af80ebe5a1c5bf3819 /README.md | |
parent | 527f628b7d9bbfe8d3fbe743e876d30c4545a71a (diff) | |
download | meta-clang-17737cc4ecd3aea2c978bf83e283bcb08d097487.tar.gz |
meta-clang: Convert to new override syntax
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -83,7 +83,7 @@ in `local.conf`. | |||
83 | You can select libstdc++ per package too by writing bbappends for them containing | 83 | You can select libstdc++ per package too by writing bbappends for them containing |
84 | 84 | ||
85 | ```shell | 85 | ```shell |
86 | LIBCPLUSPLUS_toolchain-clang_pn-<recipe> = "-stdlibc=libc++" | 86 | LIBCPLUSPLUS:toolchain-clang:pn-<recipe> = "-stdlibc=libc++" |
87 | ``` | 87 | ``` |
88 | Defaults are chosen to be GNU for maximum compatibility with existing GNU systems. Its always | 88 | Defaults are chosen to be GNU for maximum compatibility with existing GNU systems. Its always |
89 | good to use single runtime on a system, mixing runtimes can cause complications during | 89 | good to use single runtime on a system, mixing runtimes can cause complications during |
@@ -119,7 +119,7 @@ Few components do not build with clang, if you have a component to add to that l | |||
119 | simply add it to `conf/nonclangable.inc` e.g. | 119 | simply add it to `conf/nonclangable.inc` e.g. |
120 | 120 | ||
121 | ```shell | 121 | ```shell |
122 | TOOLCHAIN_pn-<recipe> = "gcc" | 122 | TOOLCHAIN:pn-<recipe> = "gcc" |
123 | ``` | 123 | ``` |
124 | 124 | ||
125 | and OE will start using gcc to cross compile that recipe. | 125 | and OE will start using gcc to cross compile that recipe. |
@@ -127,7 +127,7 @@ and OE will start using gcc to cross compile that recipe. | |||
127 | if a component does not build with libc++, you can add it to `conf/nonclangable.inc` e.g. | 127 | if a component does not build with libc++, you can add it to `conf/nonclangable.inc` e.g. |
128 | 128 | ||
129 | ```shell | 129 | ```shell |
130 | CXX_remove_pn-<recipe>_toolchain-clang = " -stdlib=libc++ " | 130 | CXX:remove:pn-<recipe>_toolchain-clang = " -stdlib=libc++ " |
131 | ``` | 131 | ``` |
132 | 132 | ||
133 | # compiler-rt failing in do_configure with custom TARGET_VENDOR | 133 | # compiler-rt failing in do_configure with custom TARGET_VENDOR |