summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-09-03 18:21:43 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-09-05 00:07:44 -0400
commit628886ee3e4364da8e389ba12b7c980073c6d656 (patch)
tree52db0e4c0bde03b0d2598196134293787f96aef8 /dev-lang/gprolog
parentdev-lang/gprolog: comment PATCHES to indicate where they are applied upstream (diff)
downloadgentoo-628886ee3e4364da8e389ba12b7c980073c6d656.tar.gz
gentoo-628886ee3e4364da8e389ba12b7c980073c6d656.tar.bz2
gentoo-628886ee3e4364da8e389ba12b7c980073c6d656.zip
dev-lang/gprolog: mark as LTO-unsafe
It is using global register variables, and there's a GCC bug that makes this not work with LTO. Closes: https://bugs.gentoo.org/855599 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'dev-lang/gprolog')
-rw-r--r--dev-lang/gprolog/gprolog-1.5.0-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-lang/gprolog/gprolog-1.5.0-r1.ebuild b/dev-lang/gprolog/gprolog-1.5.0-r1.ebuild
index bab7b4d79adb..cb842b4a31b1 100644
--- a/dev-lang/gprolog/gprolog-1.5.0-r1.ebuild
+++ b/dev-lang/gprolog/gprolog-1.5.0-r1.ebuild
@@ -32,6 +32,11 @@ src_prepare() {
}
src_configure() {
+ # src/EnginePl/wam_archi.h:64:33: error: global register variable follows a function definition
+ # https://bugs.gentoo.org/855599
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68384
+ filter-lto
+
CFLAGS_MACHINE="$(get-flag -march) $(get-flag -mcpu) $(get-flag -mtune)"
use debug && append-flags -DDEBUG