diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-06-02 12:20:22 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-06-08 11:37:54 -0700 |
| commit | d01e38f98bb03d9afa72e9dfc10eb936fc6a4c29 (patch) | |
| tree | 0986001dd4f5bf6645bf736759e0d3b8fcdcf932 | |
| parent | 785ce0f2df336ea2c7ef40a3e64eb84656f59eeb (diff) | |
| download | meta-clang-d01e38f98bb03d9afa72e9dfc10eb936fc6a4c29.tar.gz | |
poke: Do not use -O2 with clang
clang13 has a regression which segfaults the compiler while compiling
poke, its reported upstream, until it is fixed do not use -O2 compiler
switch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | conf/nonclangable.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index afcf158..bced97f 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
| @@ -331,3 +331,6 @@ LTO_pn-libidn2_toolchain-clang = "" | |||
| 331 | 331 | ||
| 332 | #libcairo.so: undefined reference to pthread_mutexattr_init [--no-allow-shlib-undefined] | 332 | #libcairo.so: undefined reference to pthread_mutexattr_init [--no-allow-shlib-undefined] |
| 333 | LTO_pn-cairo_toolchain-clang = "" | 333 | LTO_pn-cairo_toolchain-clang = "" |
| 334 | |||
| 335 | # see https://bugs.llvm.org/show_bug.cgi?id=50443 this is in clang-13, until it is fixed do not use -O2 | ||
| 336 | SELECTED_OPTIMIZATION_remove_pn-poke_toolchain-clang = "-O2" | ||
