commit:     f9815afbd29ae6b013e3bb96bb33b727d10bfc35
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar  5 20:38:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 03:36:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9815afb

mail-mta/nullmailer: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/859529
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2-r2.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild 
b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
index 45200b98d06f..a176407718a9 100644
--- a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -66,6 +66,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/859529
+       # https://github.com/bruceg/nullmailer/issues/94
+       filter-lto
+
        # https://github.com/bruceg/nullmailer/pull/31/commits
        append-lfs-flags #471102
        econf \

Reply via email to