From 129ec897a25ed9ba2657f0ed44ccaf2f429ce6ac Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 8 Nov 2020 16:02:13 -0800 Subject: 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 --- meta/conf/distro/include/lto.inc | 1 + 1 file changed, 1 insertion(+) 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 -- cgit 1.2.3-korg