summaryrefslogtreecommitdiff
path: root/sci-libs/cgcode/cgcode-1.0-r2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/cgcode/cgcode-1.0-r2.ebuild')
-rw-r--r--sci-libs/cgcode/cgcode-1.0-r2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sci-libs/cgcode/cgcode-1.0-r2.ebuild b/sci-libs/cgcode/cgcode-1.0-r2.ebuild
index 6945d82b5a92..4caf7d901289 100644
--- a/sci-libs/cgcode/cgcode-1.0-r2.ebuild
+++ b/sci-libs/cgcode/cgcode-1.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -25,6 +25,10 @@ PATCHES=(
src_prepare() {
default
+ # bug #862681
+ append-flags -fno-strict-aliasing
+ filter-lto
+
# GCC 10 workaround
# bug #722000
append-fflags $(test-flags-FC -fallow-argument-mismatch)