diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-02-15 14:45:59 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-02-16 08:24:58 -0800 |
| commit | d5219d8b7b500438c6d7ee958ca8954fa6ba8640 (patch) | |
| tree | b7c571f29c0a54cc868b13c039ea9add9e85893e | |
| parent | d2015f40cbfdd70e8e63a50f823f0f42bb865bfc (diff) | |
| download | meta-clang-d5219d8b7b500438c6d7ee958ca8954fa6ba8640.tar.gz | |
libraw: Workaround clang hang on RISCV compiling libraw
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | conf/nonclangable.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 5fbe553..778e598 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
| @@ -391,6 +391,12 @@ LTO:pn-cairo:toolchain-clang = "" | |||
| 391 | # see https://bugs.llvm.org/show_bug.cgi?id=50443 this is in clang-13, until it is fixed do not use -O2 | 391 | # see https://bugs.llvm.org/show_bug.cgi?id=50443 this is in clang-13, until it is fixed do not use -O2 |
| 392 | SELECTED_OPTIMIZATION:remove:pn-poke:toolchain-clang = "-O2" | 392 | SELECTED_OPTIMIZATION:remove:pn-poke:toolchain-clang = "-O2" |
| 393 | 393 | ||
| 394 | # TODO: remove when https://github.com/llvm/llvm-project/issues/53831 is fixed | ||
| 395 | SELECTED_OPTIMIZATION:remove:pn-libraw:riscv32:toolchain-clang = "-O2" | ||
| 396 | SELECTED_OPTIMIZATION:append:pn-libraw:riscv32:toolchain-clang = " -O0" | ||
| 397 | SELECTED_OPTIMIZATION:remove:pn-libraw:riscv64:toolchain-clang = "-O2" | ||
| 398 | SELECTED_OPTIMIZATION:append:pn-libraw:riscv64:toolchain-clang = " -O0" | ||
| 399 | |||
| 394 | # This works with gcc-ranlib wrapper only which expands $@ shell array, | 400 | # This works with gcc-ranlib wrapper only which expands $@ shell array, |
| 395 | # but it will fail if RANLIB was set to <cross>-ranlib or | 401 | # but it will fail if RANLIB was set to <cross>-ranlib or |
| 396 | # <cross>-llvn-ranlib has same behaviour | 402 | # <cross>-llvn-ranlib has same behaviour |
