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

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

Package-Manager: portage-2.2.28
This commit is contained in:
Benda Xu
2016-05-19 13:11:41 +09:00
parent 3b1ee20904
commit c0253ea90a

View 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