From 423120d7559cc38fc122f7977d26441c6903bf41 Mon Sep 17 00:00:00 2001 From: Brent Date: Fri, 3 Feb 2023 10:39:52 -0600 Subject: [PATCH] app-misc/openrgb-plugin-effects: disable LTO Compiling the openrgb effects plugin with LTO enabled causes openrgb to crash with a segmentation fault on startup. --- sys-config/ltoize/files/package.cflags/lto.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/sys-config/ltoize/files/package.cflags/lto.conf b/sys-config/ltoize/files/package.cflags/lto.conf index 10bdf0e0..d2268791 100644 --- a/sys-config/ltoize/files/package.cflags/lto.conf +++ b/sys-config/ltoize/files/package.cflags/lto.conf @@ -158,6 +158,7 @@ sys-fs/cryfs *FLAGS-=-flto* # Test failure sys-libs/libapparmor *FLAGS-=-flto* # Undefined symbol error when trying to compile sys-apps/apparmor sys-libs/libxcrypt *FLAGS-=-flto* # Undefined symbols in library files cause dependencies like net-misc/whois to fail to build app-misc/openrgb *FLAGS-=-flto* # Segmentation fault on launch +app-misc/openrgb-plugin-effects *FLAGS-=-flto* # Segmentaion fault on launch # END: LTO not recommended # BEGIN: Build Workarounds