From c0253ea90aa03327fad4e4341cdd0d38a6dd24a5 Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Thu, 19 May 2016 13:11:41 +0900 Subject: [PATCH] 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 4b8f23fe69b45..91e898657929f 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