changeset 6374:8479e8595d51

Fix linux-ppc::ghostscript Force big endian on cross compile for powerpc. This commit can success following command. bin/gub linux-ppc::ghostscript
author Masamichi Hosoda <trueroad@users.noreply.github.com>
date Fri, 13 Mar 2015 22:30:46 +0900
parents 85ac5adedcfb
children b43dda9bcb9c
files gub/specs/ghostscript.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/ghostscript.py	Fri Mar 13 00:00:01 2015 +0900
+++ b/gub/specs/ghostscript.py	Fri Mar 13 22:30:46 2015 +0900
@@ -71,6 +71,8 @@
             source.version = misc.bind_method (Ghostscript.version_from_VERSION, source)
         else:
             source.version = misc.bind_method (Ghostscript.static_version, source)
+        if 'powerpc' in self.settings.target_architecture:
+            self.configure_flags = self.configure_flags.replace('--enable-little-endian', '--enable-big-endian')
     @staticmethod
     def version_from_VERSION (self):
         try: