summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-06-02 12:20:22 -0700
committerKhem Raj <raj.khem@gmail.com>2023-09-08 09:08:54 -0700
commitc204da4d5dfe13910c6fc0591955af54c68ad9a9 (patch)
tree6f3f81ae56fc3450315622cf85d1c6f3e0cb59bf
parent0756263aa4cb6984f783907882ffb33bf1f83817 (diff)
downloadmeta-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.conf3
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"
313TOOLCHAIN_pn-tf-a-stm32mp = "gcc" 313TOOLCHAIN_pn-tf-a-stm32mp = "gcc"
314TOOLCHAIN_pn-tf-a-stm32mp-serialboot = "gcc" 314TOOLCHAIN_pn-tf-a-stm32mp-serialboot = "gcc"
315TOOLCHAIN_pn-u-boot-seco-imx = "gcc" 315TOOLCHAIN_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
318SELECTED_OPTIMIZATION_remove_pn-poke_toolchain-clang = "-O2"