commit:     53f4ada671ac57f4373b73061aa188a04c95a0c6
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Mar 10 21:33:43 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 14:22:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53f4ada6

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

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

 dev-lang/f2c/f2c-20100827-r1.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-lang/f2c/f2c-20100827-r1.ebuild 
b/dev-lang/f2c/f2c-20100827-r1.ebuild
index 9293b9d5a313..ef0a15a3ef97 100644
--- a/dev-lang/f2c/f2c-20100827-r1.ebuild
+++ b/dev-lang/f2c/f2c-20100827-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DEB_PV=20100827
 DEB_PR=1
@@ -35,6 +35,12 @@ PATCHES=(
 )
 
 src_configure() {
+       # -Werror=strict-aliasing
+       # https://bugs.gentoo.org/855593
+       #
+       append-flags -fno-strict-aliasing
+       filter-lto
+
        tc-export CC
 }
 

Reply via email to