From 544fedfdeb0f3f5cf0b5d903c3d0e879e3eb664e Mon Sep 17 00:00:00 2001 From: Thomas Beierlein Date: Mon, 21 Oct 2024 21:57:03 +0200 Subject: app-backup/bacula: Do not build with -flto The package defines some structures with different content for some of the tools which triggers severe warning with -Werror=odr and -Werror=lto-type-mismatch Closes: https://bugs.gentoo.org/940695 Signed-off-by: Thomas Beierlein --- app-backup/bacula/bacula-15.0.2.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'app-backup') diff --git a/app-backup/bacula/bacula-15.0.2.ebuild b/app-backup/bacula/bacula-15.0.2.ebuild index 5b3556d73298..80993afbc014 100644 --- a/app-backup/bacula/bacula-15.0.2.ebuild +++ b/app-backup/bacula/bacula-15.0.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit desktop libtool qmake-utils systemd +inherit desktop flag-o-matic libtool qmake-utils systemd MY_PV=${PV/_beta/-b} MY_P=${PN}-${MY_PV} @@ -195,6 +195,13 @@ src_prepare() { } src_configure() { + # -Werror=lto-type-mismatch + # bug #940695 + # + # common datastructures with partial different components for + # different tools of the backup suite + filter-lto + local myconf='' if use bacula-clientonly; then -- cgit v1.2.3-65-gdbad