summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-07-28 08:09:57 +0200
committerMichał Górny <mgorny@gentoo.org>2019-07-28 08:41:07 +0200
commit9cba1867a54e16cf8657b32d184cf436432a6dd5 (patch)
treefa14753d9f2622df87d2bbf13d61dc45aa007218 /app-portage
parentapp-portage/eix: work around cygwin linker issue (diff)
downloadgentoo-9cba1867a54e16cf8657b32d184cf436432a6dd5.tar.gz
gentoo-9cba1867a54e16cf8657b32d184cf436432a6dd5.tar.bz2
gentoo-9cba1867a54e16cf8657b32d184cf436432a6dd5.zip
app-portage/eix: Fix Cygwin linking issues
Closes: https://bugs.gentoo.org/687988 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/eix/eix-0.33.8.ebuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/app-portage/eix/eix-0.33.8.ebuild b/app-portage/eix/eix-0.33.8.ebuild
index d6ad1512e486..49fba0c878cd 100644
--- a/app-portage/eix/eix-0.33.8.ebuild
+++ b/app-portage/eix/eix-0.33.8.ebuild
@@ -76,10 +76,8 @@ 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
+ # work around https://github.com/vaeth/eix/issues/64, bug#687988
+ local -x mv_fCXXFLAGS_cache='-mindirect-branch=thunk'
econf "${myconf[@]}"
}