summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-05-07 03:03:26 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-05-07 03:18:16 -0400
commit31461ff0a6ace8d613fb3c17ba8b9d4336930723 (patch)
treec545b5ffb42d577db17082bb7cd998b9247abdd4 /app-emulation/wine-vanilla/wine-vanilla-8.0.2.ebuild
parentsys-apps/syd: drop 3.18.3 (diff)
downloadgentoo-31461ff0a6ace8d613fb3c17ba8b9d4336930723.tar.gz
gentoo-31461ff0a6ace8d613fb3c17ba8b9d4336930723.tar.bz2
gentoo-31461ff0a6ace8d613fb3c17ba8b9d4336930723.zip
app-emulation/wine-vanilla: filter -Wl,--gc-sections
Is an issue with both lld and bfd that I can see, likely due to the linker tricks wine uses. Let's just filter it as it's fragile. Skipping revbump given the option is rarely used and shouldn't affect many. Bug: https://bugs.gentoo.org/931329 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation/wine-vanilla/wine-vanilla-8.0.2.ebuild')
-rw-r--r--app-emulation/wine-vanilla/wine-vanilla-8.0.2.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/app-emulation/wine-vanilla/wine-vanilla-8.0.2.ebuild b/app-emulation/wine-vanilla/wine-vanilla-8.0.2.ebuild
index f0641aa921fe..d9243957dadb 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-8.0.2.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-8.0.2.ebuild
@@ -251,6 +251,7 @@ src_configure() {
tc-ld-force-bfd # builds with non-bfd but broken at runtime (bug #867097)
filter-lto # build failure
+ filter-flags -Wl,--gc-sections # runtime issues (bug #931329)
use custom-cflags || strip-flags # can break in obscure ways at runtime
use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}