From f1adebb07e2de0d7949f8347560feabd10d19846 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 12 Nov 2020 08:31:04 -0800 Subject: lto: Disable LTO for cairo and libidn2 with clang There are compile/link time errors Signed-off-by: Khem Raj --- conf/nonclangable.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index b948678..b15aef1 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -295,3 +295,11 @@ BUILD_CC_pn-nss_toolchain-clang = "clang" CXXFLAGS_append_pn-apt_toolchain-clang = " -Wno-c++11-narrowing" lcl_maybe_fortify_pn-apt_toolchain-clang = "" +# LTO +# Seems to use symver ASMs see https://stackoverflow.com/questions/46304742/how-to-combine-lto-with-symbol-versioning +# lib/puny_encode.c:136: multiple definition of `_idn2_punycode_encode' +LTO_pn-libidn2_toolchain-clang = "" + +#libcairo.so: undefined reference to pthread_mutexattr_init [--no-allow-shlib-undefined] +LTO_pn-cairo_toolchain-clang = "" + -- cgit v1.2.3-54-g00ecf