commit:     53a76bbc5daa4808e2e6a63e1e010b738a0cbd64
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  8 04:10:12 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Aug  8 16:06:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53a76bbc

dev-db/percona-xtrabackup: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/855245
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 dev-db/percona-xtrabackup/percona-xtrabackup-8.0.30.23.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-db/percona-xtrabackup/percona-xtrabackup-8.0.30.23.ebuild 
b/dev-db/percona-xtrabackup/percona-xtrabackup-8.0.30.23.ebuild
index cf31400b9055..fd790e55724c 100644
--- a/dev-db/percona-xtrabackup/percona-xtrabackup-8.0.30.23.ebuild
+++ b/dev-db/percona-xtrabackup/percona-xtrabackup-8.0.30.23.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 CMAKE_MAKEFILE_GENERATOR="emake"
 
-inherit cmake
+inherit cmake flag-o-matic
 
 # TODO: just keep it unbundled...?
 MY_BOOST_VERSION="1.77.0"
@@ -69,6 +69,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/855245
+       # https://perconadev.atlassian.net/browse/PXB-3345
+       filter-lto
+
        CMAKE_BUILD_TYPE="RelWithDebInfo"
 
        local mycmakeargs=(

Reply via email to