diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2024-11-18 17:35:25 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2024-11-18 17:35:58 -0500 |
commit | 9ef338cb5aec0c85fe0a6c65f61bc395237a789f (patch) | |
tree | fb9525d1e719270d90fd5d17fb2a89fd9f5a1f3c /app-emulation | |
parent | app-emulation/wine-vanilla: pass -std=gnu17 for gcc15 for now (diff) | |
download | gentoo-9ef338cb5aec0c85fe0a6c65f61bc395237a789f.tar.gz gentoo-9ef338cb5aec0c85fe0a6c65f61bc395237a789f.tar.bz2 gentoo-9ef338cb5aec0c85fe0a6c65f61bc395237a789f.zip |
app-emulation/wine-proton: pass -std=gnu17 for gcc15 for now
Bug: https://bugs.gentoo.org/943849
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation')
5 files changed, 15 insertions, 0 deletions
diff --git a/app-emulation/wine-proton/wine-proton-7.0.6.ebuild b/app-emulation/wine-proton/wine-proton-7.0.6.ebuild index 0885f72efe17..4ebc2d33e911 100644 --- a/app-emulation/wine-proton/wine-proton-7.0.6.ebuild +++ b/app-emulation/wine-proton/wine-proton-7.0.6.ebuild @@ -247,6 +247,9 @@ src_configure() { use custom-cflags || strip-flags # can break in obscure ways at runtime use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} + # broken with gcc-15's c23 default (TODO: try w/o occasionally, bug #943849) + append-cflags -std=gnu17 + # temporary workaround for tc-ld-force-bfd not yet enforcing with mold # https://github.com/gentoo/gentoo/pull/28355 [[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] && diff --git a/app-emulation/wine-proton/wine-proton-8.0.5c.ebuild b/app-emulation/wine-proton/wine-proton-8.0.5c.ebuild index cd3bf6391ea7..fe281d763060 100644 --- a/app-emulation/wine-proton/wine-proton-8.0.5c.ebuild +++ b/app-emulation/wine-proton/wine-proton-8.0.5c.ebuild @@ -251,6 +251,9 @@ src_configure() { use custom-cflags || strip-flags # can break in obscure ways at runtime use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} + # broken with gcc-15's c23 default (TODO: try w/o occasionally, bug #943849) + append-cflags -std=gnu17 + # temporary workaround for tc-ld-force-bfd not yet enforcing with mold # https://github.com/gentoo/gentoo/pull/28355 [[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] && diff --git a/app-emulation/wine-proton/wine-proton-9.0.2.ebuild b/app-emulation/wine-proton/wine-proton-9.0.2.ebuild index d8dfaa48476b..4a959910a693 100644 --- a/app-emulation/wine-proton/wine-proton-9.0.2.ebuild +++ b/app-emulation/wine-proton/wine-proton-9.0.2.ebuild @@ -271,6 +271,9 @@ src_configure() { filter-flags -Wl,--gc-sections # runtime issues (bug #931329) use custom-cflags || strip-flags # can break in obscure ways at runtime + # broken with gcc-15's c23 default (TODO: try w/o occasionally, bug #943849) + append-cflags -std=gnu17 + # wine uses linker tricks unlikely to work with non-bfd/lld (bug #867097) # (do self test until https://github.com/gentoo/gentoo/pull/28355) if [[ $(LC_ALL=C $(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) != @(LLD|GNU\ ld)* ]] diff --git a/app-emulation/wine-proton/wine-proton-9.0.3.ebuild b/app-emulation/wine-proton/wine-proton-9.0.3.ebuild index 158df4efa795..1b6c3be815f9 100644 --- a/app-emulation/wine-proton/wine-proton-9.0.3.ebuild +++ b/app-emulation/wine-proton/wine-proton-9.0.3.ebuild @@ -271,6 +271,9 @@ src_configure() { filter-flags -Wl,--gc-sections # runtime issues (bug #931329) use custom-cflags || strip-flags # can break in obscure ways at runtime + # broken with gcc-15's c23 default (TODO: try w/o occasionally, bug #943849) + append-cflags -std=gnu17 + # wine uses linker tricks unlikely to work with non-bfd/lld (bug #867097) # (do self test until https://github.com/gentoo/gentoo/pull/28355) if [[ $(LC_ALL=C $(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) != @(LLD|GNU\ ld)* ]] diff --git a/app-emulation/wine-proton/wine-proton-9999.ebuild b/app-emulation/wine-proton/wine-proton-9999.ebuild index 10f556feb152..512564eccefb 100644 --- a/app-emulation/wine-proton/wine-proton-9999.ebuild +++ b/app-emulation/wine-proton/wine-proton-9999.ebuild @@ -273,6 +273,9 @@ src_configure() { filter-flags -Wl,--gc-sections # runtime issues (bug #931329) use custom-cflags || strip-flags # can break in obscure ways at runtime + # broken with gcc-15's c23 default (TODO: try w/o occasionally, bug #943849) + append-cflags -std=gnu17 + # wine uses linker tricks unlikely to work with non-bfd/lld (bug #867097) # (do self test until https://github.com/gentoo/gentoo/pull/28355) if [[ $(LC_ALL=C $(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) != @(LLD|GNU\ ld)* ]] |