From: Khem Raj Date: Mon, 9 Nov 2020 00:02:13 +0000 (-0800) Subject: lto.inc: Disable LTO for xserver-xorg X-Git-Tag: uninative-2.10~749 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=129ec897a25ed9ba2657f0ed44ccaf2f429ce6ac;p=openembedded-core.git lto.inc: Disable LTO for xserver-xorg It ends up with undefined symbol when LTO is enabled Fixes test/xi2/protocol-xiquerydevice.c:345: undefined reference to `GrabButton' Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/conf/distro/include/lto.inc b/meta/conf/distro/include/lto.inc index 9c4e0ef507..bd433aa418 100644 --- a/meta/conf/distro/include/lto.inc +++ b/meta/conf/distro/include/lto.inc @@ -18,6 +18,7 @@ LTO_pn-curl = "" LTO_pn-libcap = "" LTO_pn-libproxy = "" LTO_pn-libbsd = "" +LTO_pn-xserver-xorg = "" # Custom LTO flags # disable partitioning/streaming algorithm since its uses ASM