From e928c99d52ebd318319345b12f81fc6bc3011e01 Mon Sep 17 00:00:00 2001 From: Michael Haubenwallner Date: Thu, 13 Jun 2019 11:26:39 +0200 Subject: [PATCH] app-portage/eix: work around cygwin linker issue Upstream report: https://github.com/vaeth/eix/issues/64 Closes: https://bugs.gentoo.org/687988 Package-Manager: Portage-2.3.66, Repoman-2.3.11 --- app-portage/eix/eix-0.33.7.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app-portage/eix/eix-0.33.7.ebuild b/app-portage/eix/eix-0.33.7.ebuild index 70613c31e58..52283808230 100644 --- a/app-portage/eix/eix-0.33.7.ebuild +++ b/app-portage/eix/eix-0.33.7.ebuild @@ -41,6 +41,10 @@ src_prepare() { sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EROOT}usr/share/eix/eix-functions\\\\\":" \ -i src/Makefile.am || die eautoreconf + if [[ ${CHOST} == *-cygwin* ]]; then + # work around https://github.com/vaeth/eix/issues/64, bug#687988 + sed -i -e 's/-mindirect-branch=thunk/-mno-indirect-branch=thunk/' configure || die + fi } src_configure() { -- 2.19.2