commit:     c0253ea90aa03327fad4e4341cdd0d38a6dd24a5
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 04:11:41 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu May 19 04:11:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0253ea9

dev-python/llvmlite: disable libstdc++ static linking.

Bug: 580898
Upstream-Bug: https://github.com/numba/llvmlite/issues/93

Package-Manager: portage-2.2.28

 dev-python/llvmlite/llvmlite-0.10.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/llvmlite/llvmlite-0.10.0.ebuild 
b/dev-python/llvmlite/llvmlite-0.10.0.ebuild
index 4b8f23f..91e8986 100644
--- a/dev-python/llvmlite/llvmlite-0.10.0.ebuild
+++ b/dev-python/llvmlite/llvmlite-0.10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -28,7 +28,8 @@ DEPEND="${RDEPEND}
        dev-util/cmake"
 
 python_prepare_all() {
-       sed -i -e 's/-flto$/-flto -fPIC/' ffi/Makefile.linux || die
+       sed -i -e 's/-flto$/-flto -fPIC/' \
+               -e 's/-static-libstdc++ //' ffi/Makefile.linux || die
 
        # disable test using installed instance to read version info
        sed -e 's:test_version:_&:' -i llvmlite/tests/test_binding.py || die

Reply via email to