commit: 3cfa048ab51ca716bbdb34f14b6ee48c3844c680 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Wed Jan 10 19:10:34 2018 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Wed Jan 10 19:10:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3cfa048a
sys-libs/libcxxabi: port ppc buildfix from 3.5.1 to 3.8.1 Package-Manager: Portage-2.3.18-prefix, Repoman-2.3.6 sys-libs/libcxxabi/libcxxabi-3.8.1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys-libs/libcxxabi/libcxxabi-3.8.1.ebuild b/sys-libs/libcxxabi/libcxxabi-3.8.1.ebuild index 136a09b357..a64483c44a 100644 --- a/sys-libs/libcxxabi/libcxxabi-3.8.1.ebuild +++ b/sys-libs/libcxxabi/libcxxabi-3.8.1.ebuild @@ -57,6 +57,10 @@ src_prepare() { -e "s,-arch i386 -arch x86_64,,g" \ lib/buildit + if [[ ${CHOST} == powerpc*-darwin* ]] ; then + sed -i -e '/RC_CFLAGS=""/s/""/"-fPIC"/' lib/buildit || die + fi + # assert.h refers to eprintf which is nowhere to be found. That's why # everyone (libstdc++, clang compiler-rt) bring their own # implementation. Ours is nicked from Apple's patch to libstdc++-39.