commit:     7a032c929dd470bf0af3782f7c985659b3fbbed0
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 11 22:03:24 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Feb 11 23:13:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a032c92

games-action/dxx-rebirth: replace -O3 by -O2

Currently fails with -O3, haven't investigated further but do
a replace-flags as a quick workaround.

Closes: https://bugs.gentoo.org/831896
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20210623.ebuild | 3 ++-
 games-action/dxx-rebirth/dxx-rebirth-9999.ebuild               | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20210623.ebuild 
b/games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20210623.ebuild
index 90a8b6d8c8ef..3dc11a9d646a 100644
--- a/games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20210623.ebuild
+++ b/games-action/dxx-rebirth/dxx-rebirth-0.61.0_pre20210623.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{8..10} )
 
-inherit desktop python-any-r1 scons-utils toolchain-funcs xdg
+inherit desktop flag-o-matic python-any-r1 scons-utils toolchain-funcs xdg
 
 if [[ "${PV}" = 9999 ]]; then
        inherit git-r3
@@ -217,6 +217,7 @@ dxx_scons() {
 
 src_compile() {
        tc-export CXX PKG_CONFIG
+       replace-flags -O3 -O2 #831896
        dxx_scons register_install_target=0 build
 }
 

diff --git a/games-action/dxx-rebirth/dxx-rebirth-9999.ebuild 
b/games-action/dxx-rebirth/dxx-rebirth-9999.ebuild
index ed7efde84b19..e73e35686d41 100644
--- a/games-action/dxx-rebirth/dxx-rebirth-9999.ebuild
+++ b/games-action/dxx-rebirth/dxx-rebirth-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{8..10} )
 
-inherit desktop python-any-r1 scons-utils toolchain-funcs xdg
+inherit desktop flag-o-matic python-any-r1 scons-utils toolchain-funcs xdg
 
 if [[ "${PV}" = 9999 ]]; then
        inherit git-r3
@@ -219,6 +219,7 @@ dxx_scons() {
 
 src_compile() {
        tc-export CXX PKG_CONFIG
+       replace-flags -O3 -O2 #831896
        dxx_scons register_install_target=0 build
 }
 

Reply via email to