Skip to content

Commit

Permalink
dev-python/llvmlite: disable libstdc++ static linking.
Browse files Browse the repository at this point in the history
Bug: 580898
Upstream-Bug: numba/llvmlite#93

Package-Manager: portage-2.2.28
  • Loading branch information
heroxbd committed May 19, 2016
1 parent 3b1ee20 commit c0253ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dev-python/llvmlite/llvmlite-0.10.0.ebuild
Original file line number Diff line number Diff line change
@@ -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$

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c0253ea

Please sign in to comment.