diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2024-10-21 21:57:03 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2024-10-21 22:01:10 +0200 |
commit | 544fedfdeb0f3f5cf0b5d903c3d0e879e3eb664e (patch) | |
tree | e9da6a425150604e356c8816eda27493d5bce133 /app-backup | |
parent | dev-db/futuresql5: treeclean (diff) | |
download | gentoo-544fedfdeb0f3f5cf0b5d903c3d0e879e3eb664e.tar.gz gentoo-544fedfdeb0f3f5cf0b5d903c3d0e879e3eb664e.tar.bz2 gentoo-544fedfdeb0f3f5cf0b5d903c3d0e879e3eb664e.zip |
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@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r-- | app-backup/bacula/bacula-15.0.2.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
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 |