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-9999.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-9999.ebuild')
-rw-r--r--app-emulation/wine-vanilla/wine-vanilla-9999.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
index 61e41c9d9b98..13bbfdc159ea 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
@@ -278,6 +278,7 @@ src_configure() {
)
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
# wine uses linker tricks unlikely to work with non-bfd/lld (bug #867097)