From e728192cd04c5f3f6d4cf61514093436dc7c7460 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 25 Mar 2024 23:54:27 -0400 Subject: games-fps/alephone: mark as LTO-unsafe Closes: https://bugs.gentoo.org/873298 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- games-fps/alephone/alephone-20230119.ebuild | 9 +++++++-- games-fps/alephone/alephone-99999999.ebuild | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) (limited to 'games-fps') diff --git a/games-fps/alephone/alephone-20230119.ebuild b/games-fps/alephone/alephone-20230119.ebuild index 67bf15ff6d89..895dc7325c50 100644 --- a/games-fps/alephone/alephone-20230119.ebuild +++ b/games-fps/alephone/alephone-20230119.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools optfeature prefix toolchain-funcs xdg +inherit autotools flag-o-matic optfeature prefix toolchain-funcs xdg DESCRIPTION="An enhanced version of the game engine from the classic Mac game, Marathon" HOMEPAGE="https://alephone.lhowon.org/" @@ -65,6 +65,11 @@ src_prepare() { } src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/873298 + # https://github.com/Aleph-One-Marathon/alephone/issues/475 + filter-lto + econf \ --enable-lua \ --enable-opengl \ diff --git a/games-fps/alephone/alephone-99999999.ebuild b/games-fps/alephone/alephone-99999999.ebuild index 15a4810f346c..9a32dc2729ec 100644 --- a/games-fps/alephone/alephone-99999999.ebuild +++ b/games-fps/alephone/alephone-99999999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools optfeature prefix toolchain-funcs xdg +inherit autotools flag-o-matic optfeature prefix toolchain-funcs xdg DESCRIPTION="An enhanced version of the game engine from the classic Mac game, Marathon" HOMEPAGE="https://alephone.lhowon.org/" @@ -63,6 +63,11 @@ src_prepare() { } src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/873298 + # https://github.com/Aleph-One-Marathon/alephone/issues/475 + filter-lto + econf \ --enable-lua \ --enable-opengl \ -- cgit v1.2.3-65-gdbad