aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf/xorg.cf
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/xorg.cf
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/xorg.cf')
-rw-r--r--nx-X11/config/cf/xorg.cf3
1 files changed, 2 insertions, 1 deletions
diff --git a/nx-X11/config/cf/xorg.cf b/nx-X11/config/cf/xorg.cf
index b68d11c4c..dc8a77362 100644
--- a/nx-X11/config/cf/xorg.cf
+++ b/nx-X11/config/cf/xorg.cf
@@ -243,6 +243,7 @@ NX_VERSION_CURRENT_STRING = nxVersionString
defined(AMD64Architecture) || defined(SparcArchitecture) || \
defined(Sparc64Architecture) || defined(MipsArchitecture) || \
defined(AlphaArchitecture) || defined(PpcArchitecture) || \
+ defined(Ppc64Architecture) || defined(Ppc64LeArchitecture) || \
defined(Mc68020Architecture) || defined(Arm32Architecture) || \
defined(HPArchitecture) || defined(SuperHArchitecture)
# ifndef XorgServer
@@ -765,7 +766,7 @@ XFREE86JAPANESEDOCDIR = $(DOCDIR)/Japanese
# endif
#endif
-#if HasGcc2 && defined(Ppc64Architecture)
+#if HasGcc2 && (defined(Ppc64Architecture) || defined(Ppc64LeArchitecture))
# ifndef DefaultGcc2Ppc64Opt
# define DefaultGcc2Ppc64Opt -O2 GccAliasingArgs
# endif