summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2019-06-13 11:26:39 +0200
committerMichał Górny <mgorny@gentoo.org>2019-07-28 08:41:06 +0200
commit425757f0274a39eb0392196fb45efc8d9f3eb3f4 (patch)
tree0a802642c77f5138e0742759722a70cffbcbc6ea /app-portage/eix
parentapp-doc/eclass-manpages: Drop old (diff)
downloadgentoo-425757f0274a39eb0392196fb45efc8d9f3eb3f4.tar.gz
gentoo-425757f0274a39eb0392196fb45efc8d9f3eb3f4.tar.bz2
gentoo-425757f0274a39eb0392196fb45efc8d9f3eb3f4.zip
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@gentoo.org>
Diffstat (limited to 'app-portage/eix')
-rw-r--r--app-portage/eix/eix-0.33.8.ebuild5
1 files changed, 5 insertions, 0 deletions
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[@]}"
}