# HG changeset patch # User Masamichi Hosoda # Date 1426253446 -32400 # Node ID 8479e8595d511ba6b367a3cc6b31be71993178ff # Parent 85ac5adedcfbf5e6456336f7a8c7d3be10a2f232 Fix linux-ppc::ghostscript Force big endian on cross compile for powerpc. This commit can success following command. bin/gub linux-ppc::ghostscript diff -r 85ac5adedcfb -r 8479e8595d51 gub/specs/ghostscript.py --- 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: