mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user