commit: 544fedfdeb0f3f5cf0b5d903c3d0e879e3eb664e Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> AuthorDate: Mon Oct 21 19:57:03 2024 +0000 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> CommitDate: Mon Oct 21 20:01:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=544fedfd
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 <tomjbe <AT> gentoo.org> app-backup/bacula/bacula-15.0.2.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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
