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>
This commit is contained in:
Eli Schwartz
2024-09-03 18:21:43 -04:00
parent 6c0264a3a6
commit 628886ee3e

View File

@@ -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