dev-lang/ghc: depend on libffi[-exec-static-trampoline]

The 8.10 line of ghc needs USE=exec-static-trampoline turned off on
libffi. The fix exists in 9.0.2 and later versions of ghc.

See: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6155
Bug: https://bugs.gentoo.org/801109
Reported-by: Sam James <sam@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/29195
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
hololeap
2023-01-20 18:15:41 -07:00
committed by Sam James
parent dc2a79fe4e
commit 427ed5358b

View File

@@ -87,7 +87,7 @@ RDEPEND="
dev-libs/gmp:0=
sys-libs/ncurses:=[unicode(+)]
elfutils? ( dev-libs/elfutils )
!ghcmakebinary? ( dev-libs/libffi:= )
!ghcmakebinary? ( dev-libs/libffi:=[-exec-static-trampoline] )
numa? ( sys-process/numactl )
"