mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
wine.eclass: limit -std=gnu17 to <wine-10
chiitoo mentioned that (at least) 10.7 works without this, and that the last needed fixes were in 10.0-rc1, so I tried 10.0 and it was also fine. vanilla-9.0.1 does not seem to have received a hotfix for this and still fails, there's also proton-9.0.4 to worry about so will just keep passing it for <10 until they're gone. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -188,9 +188,8 @@ wine_src_configure() {
|
||||
# may segfault at runtime if used (bug #931329)
|
||||
filter-flags -Wl,--gc-sections
|
||||
|
||||
# avoid gcc-15's c23 default for now (bug #943849)
|
||||
# TODO: verify if still needed and limit to old until cleanup
|
||||
append-cflags -std=gnu17
|
||||
# avoid gcc-15's c23 default with older wine (bug #943849)
|
||||
ver_test -lt 10 && append-cflags -std=gnu17
|
||||
|
||||
# Wine uses many linker tricks that are unlikely to work
|
||||
# with anything but bfd or lld (bug #867097)
|
||||
|
||||
Reference in New Issue
Block a user