commit:     87a0599ce499cc694c54ffdb3ce0c39e342230e6
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 02:10:53 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed May 22 03:30:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87a0599c

Revert "dev-util/mingw64-runtime: add workaround for gcc14 ICE w/ mingw"

This reverts commit 54e5dc5019e5506f386b80b35dca7ae439bed752.

Will wait for a fixed gcc version instead, this doesn't affect many.

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

 dev-util/mingw64-runtime/mingw64-runtime-11.0.1.ebuild | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/dev-util/mingw64-runtime/mingw64-runtime-11.0.1.ebuild 
b/dev-util/mingw64-runtime/mingw64-runtime-11.0.1.ebuild
index f2723d866456..15f76259b1af 100644
--- a/dev-util/mingw64-runtime/mingw64-runtime-11.0.1.ebuild
+++ b/dev-util/mingw64-runtime/mingw64-runtime-11.0.1.ebuild
@@ -65,16 +65,11 @@ src_configure() {
        # (primarily done for 23.0 profiles' -z, not full coverage)
        filter-flags '-Wl,-z,*'
 
-       if tc-is-gcc; then
-               # -mavx with mingw-gcc has a history of obscure issues and
-               # disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
-               # crashes with -march=skylake >=wine-8.10, similar issues with
-               # znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
-               append-flags -mno-avx
-
-               # gcc14 -fno-omit-frame-pointer ICE workaround (bug #932319)
-               append-flags -fomit-frame-pointer
-       fi
+       # -mavx with mingw-gcc has a history of obscure issues and
+       # disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
+       # crashes with -march=skylake >=wine-8.10, similar issues with
+       # znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
+       tc-is-gcc && append-flags -mno-avx
 
        strip-unsupported-flags
 

Reply via email to