From: Michael Haubenwallner Date: Thu, 13 Jun 2019 09:26:39 +0000 (+0200) Subject: app-portage/eix: work around cygwin linker issue X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=425757f0274a39eb0392196fb45efc8d9f3eb3f4;p=gentoo.git 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 --- diff --git a/app-portage/eix/eix-0.33.8.ebuild b/app-portage/eix/eix-0.33.8.ebuild index 240099310a8f..d6ad1512e486 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[@]}" }