aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf/Imake.tmpl
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2018-02-08 20:40:32 +0100
committerMihai Moldovan <ionic@ionic.de>2018-02-08 21:48:27 +0100
commitf76d4b54118627adb13dd896537c01033d989158 (patch)
tree6e41313412b9066f7201e2e4262d7db61d64fdd3 /nx-X11/config/cf/Imake.tmpl
parentaecdb52661898d0ba400a61550fa6ce9c0a4d829 (diff)
downloadnx-libs-f76d4b54118627adb13dd896537c01033d989158.tar.gz
nx-libs-f76d4b54118627adb13dd896537c01033d989158.tar.bz2
nx-libs-f76d4b54118627adb13dd896537c01033d989158.zip
nx-X11/config/cf/{Imake.{cf,tmpl},{linux,xorg}.cf}: support ppc64le alongside ppc64(be).
On PPC64*, X_BYTE_ORDER was hardcoded to X_BIG_ENDIAN. Since the CPUs support both modes and we actually intend to execute nxagent on ppc64le as well, detect the actual endianess and add support for Ppc64LeArchitecture.
Diffstat (limited to 'nx-X11/config/cf/Imake.tmpl')
-rw-r--r--nx-X11/config/cf/Imake.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/config/cf/Imake.tmpl b/nx-X11/config/cf/Imake.tmpl
index 285b53480..86222d12a 100644
--- a/nx-X11/config/cf/Imake.tmpl
+++ b/nx-X11/config/cf/Imake.tmpl
@@ -507,6 +507,8 @@ XCOMM the platform-specific parameters - edit site.def to change
#define ByteOrder X_BIG_ENDIAN
#elif defined(PpcArchitecture) || defined(Ppc64Architecture)
#define ByteOrder X_BIG_ENDIAN
+#elif defined(Ppc64LeArchitecture)
+#define ByteOrder X_LITTLE_ENDIAN
#elif defined(HPArchitecture)
#define ByteOrder X_BIG_ENDIAN
#elif defined(SuperHArchitecture)