From b846ee3587c674b9427e7554e549062aaf3bedb8 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.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[@]}" } -- 2.19.2