dev-python/llvmlite: disable libstdc++ static linking.
authorBenda Xu <heroxbd@gentoo.org>
Thu, 19 May 2016 04:11:41 +0000 (13:11 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Thu, 19 May 2016 04:11:41 +0000 (13:11 +0900)
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

index 4b8f23fe69b45b4f8f37023e0a407dd28d7130ba..91e898657929fdb0aa3ad78de88b4e44efecc509 100644 (file)
@@ -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