diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-03-10 20:19:39 -0400 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-03-11 14:22:46 +0000 |
commit | 16acb2753fdf09e64dc87859db5cf07eacccaca3 (patch) | |
tree | a30fd257afa05a5feb32a4d213ef3eeda63af92f /dev-db | |
parent | dev-db/pgpool2: mark as LTO-unsafe (diff) | |
download | gentoo-16acb2753fdf09e64dc87859db5cf07eacccaca3.tar.gz gentoo-16acb2753fdf09e64dc87859db5cf07eacccaca3.tar.bz2 gentoo-16acb2753fdf09e64dc87859db5cf07eacccaca3.zip |
dev-db/slony1: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/855251
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/slony1/slony1-2.2.10-r1.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-db/slony1/slony1-2.2.10-r1.ebuild b/dev-db/slony1/slony1-2.2.10-r1.ebuild index 89281ba1f3aa..1115cf1c6835 100644 --- a/dev-db/slony1/slony1-2.2.10-r1.ebuild +++ b/dev-db/slony1/slony1-2.2.10-r1.ebuild @@ -6,7 +6,7 @@ EAPI=7 POSTGRES_COMPAT=( 9.6 {10..14} ) POSTGRES_USEDEP="server,threads(+)" -inherit postgres-multi +inherit flag-o-matic postgres-multi IUSE="doc perl" @@ -47,6 +47,11 @@ src_unpack() { } src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/855251 + # https://github.com/ssinger/slony1-engine/issues/21 + filter-lto + local slot_bin_dir="/usr/$(get_libdir)/postgresql-@PG_SLOT@/bin" use perl && myconf=" --with-perltools=\"${slot_bin_dir}\"" postgres-multi_foreach econf ${myconf} \ |