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