Description: We now need -fPIC on PPC
 Or translation will blow up with R_PPC_REL24 relocations that are out of
 range.
Author: Stefano Rivera <stefanor@debian.org>
Origin: upstream, https://bitbucket.org/pypy/pypy/commits/11c4878ea354
Last-Update: 2014-12-02

--- a/rpython/translator/platform/__init__.py
+++ b/rpython/translator/platform/__init__.py
@@ -266,7 +266,7 @@
     # Only required on armhf and mips{,el}, not armel. But there's no way to
     # detect armhf without shelling out
     if (platform.architecture()[0] == '64bit'
-            or platform.machine().startswith(('arm', 'mips'))):
+            or platform.machine().startswith(('arm', 'mips', 'ppc'))):
         host_factory = LinuxPIC
     else:
         host_factory = Linux
