diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-06-02 12:20:22 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-09-08 09:08:54 -0700 |
commit | c204da4d5dfe13910c6fc0591955af54c68ad9a9 (patch) | |
tree | 6f3f81ae56fc3450315622cf85d1c6f3e0cb59bf | |
parent | 0756263aa4cb6984f783907882ffb33bf1f83817 (diff) | |
download | meta-clang-c204da4d5dfe13910c6fc0591955af54c68ad9a9.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>
(cherry picked from commit d01e38f98bb03d9afa72e9dfc10eb936fc6a4c29)
-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 b515e69..e282de8 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -313,3 +313,6 @@ TOOLCHAIN_pn-u-boot-stm32mp = "gcc" | |||
313 | TOOLCHAIN_pn-tf-a-stm32mp = "gcc" | 313 | TOOLCHAIN_pn-tf-a-stm32mp = "gcc" |
314 | TOOLCHAIN_pn-tf-a-stm32mp-serialboot = "gcc" | 314 | TOOLCHAIN_pn-tf-a-stm32mp-serialboot = "gcc" |
315 | TOOLCHAIN_pn-u-boot-seco-imx = "gcc" | 315 | TOOLCHAIN_pn-u-boot-seco-imx = "gcc" |
316 | |||
317 | # see https://bugs.llvm.org/show_bug.cgi?id=50443 this is in clang-13, until it is fixed do not use -O2 | ||
318 | SELECTED_OPTIMIZATION_remove_pn-poke_toolchain-clang = "-O2" | ||