commit:     398c305d86dd3a3fa9ad3026489eb94e3cb728d8
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 12 00:23:06 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Aug 14 05:01:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=398c305d

dev-lang/oorexx: mark as strict-aliasing unsafe, LTO-unsafe

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

 dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild 
b/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild
index 175824b2c014..f1f736875eb6 100644
--- a/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild
+++ b/dev-lang/oorexx/oorexx-5.1.0_beta12932.ebuild
@@ -40,6 +40,14 @@ PATCHES=(
 )
 
 src_configure() {
+       # -Werror=strict-aliasing
+       # https://bugs.gentoo.org/952966
+       # https://sourceforge.net/p/oorexx/bugs/2029/
+       #
+       # Do not trust LTO either
+       append-flags -fno-strict-aliasing
+       filter-lto
+
        # bug 924171
        if use elibc_musl ; then
                append-cppflags -D_LARGEFILE64_SOURCE

Reply via email to