summaryrefslogtreecommitdiff
path: root/dev-lang/f2c
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-10 17:33:43 -0400
committerSam James <sam@gentoo.org>2024-03-11 14:22:43 +0000
commit53f4ada671ac57f4373b73061aa188a04c95a0c6 (patch)
treee2bae0791245f20625126fa02d4f6508aeb3e848 /dev-lang/f2c
parenta64c06e48051b343892531c89d15095c3ee9d8f8 (diff)
downloadgentoo-53f4ada671ac57f4373b73061aa188a04c95a0c6.tar.gz
gentoo-53f4ada671ac57f4373b73061aa188a04c95a0c6.tar.bz2
gentoo-53f4ada671ac57f4373b73061aa188a04c95a0c6.zip
dev-lang/f2c: mark as LTO-unsafe, strict-aliasing unsafe
Closes: https://bugs.gentoo.org/855593 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/f2c')
-rw-r--r--dev-lang/f2c/f2c-20100827-r1.ebuild10
1 files 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
}