[PATCH v5 07/11] lto.inc: Disable LTO for xserver-xorg

Khem Raj
2020-11-09T00:02:28Z

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 <raj.khem@gmail.com>
---
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
--
2.29.2