From d01e38f98bb03d9afa72e9dfc10eb936fc6a4c29 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 2 Jun 2021 12:20:22 -0700 Subject: 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 --- conf/nonclangable.conf | 3 +++ 1 file changed, 3 insertions(+) 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 = "" #libcairo.so: undefined reference to pthread_mutexattr_init [--no-allow-shlib-undefined] LTO_pn-cairo_toolchain-clang = "" + +# see https://bugs.llvm.org/show_bug.cgi?id=50443 this is in clang-13, until it is fixed do not use -O2 +SELECTED_OPTIMIZATION_remove_pn-poke_toolchain-clang = "-O2" -- cgit v1.2.3-54-g00ecf