commit:     425757f0274a39eb0392196fb45efc8d9f3eb3f4
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 13 09:26:39 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 28 06:41:06 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=425757f0

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
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-portage/eix/eix-0.33.8.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/app-portage/eix/eix-0.33.8.ebuild 
b/app-portage/eix/eix-0.33.8.ebuild
index 240099310a8..d6ad1512e48 100644
--- a/app-portage/eix/eix-0.33.8.ebuild
+++ b/app-portage/eix/eix-0.33.8.ebuild
@@ -76,6 +76,11 @@ src_configure() {
        # https://github.com/vaeth/eix/issues/35
        append-cxxflags -std=c++14
 
+       if [[ ${CHOST} == *-cygwin* ]]; then
+               # work around https://github.com/vaeth/eix/issues/64, bug#687988
+               export mv_fCXXFLAGS_cache='-mindirect-branch=thunk'
+       fi
+
        econf "${myconf[@]}"
 }
 

Reply via email to