aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf/linux.cf
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/config/cf/linux.cf')
-rw-r--r--nx-X11/config/cf/linux.cf17
1 files changed, 14 insertions, 3 deletions
diff --git a/nx-X11/config/cf/linux.cf b/nx-X11/config/cf/linux.cf
index cd34555e6..b78281cb5 100644
--- a/nx-X11/config/cf/linux.cf
+++ b/nx-X11/config/cf/linux.cf
@@ -723,7 +723,7 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion)
# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
#endif /* Mc68020Architecture */
-#ifdef MipsArchitecture
+#if defined(MipsArchitecture) && !defined(MipselArchitecture)
# ifndef OptimizedCDebugFlags
# define OptimizedCDebugFlags DefaultGcc2MipsOpt
# endif
@@ -732,6 +732,19 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion)
# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
#endif
+#ifdef MipselArchitecture
+# ifndef OptimizedCDebugFlags
+# define OptimizedCDebugFlags DefaultGcc2MipsOpt
+# endif
+# define LinuxMachineDefines -D__MIPSEL__
+# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
+# ifdef Mips64elArchitecture
+# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
+# else
+# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
+# endif
+#endif
+
#ifdef Ppc64Architecture
# define DefaultCCOptions -mminimal-toc
# ifndef OptimizedCDebugFlags
@@ -777,10 +790,8 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion)
# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
# define AsVISOption -Av9a
# ifdef Sparc64Architecture
-# define AsOutputArchSize 64
# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
# else
-# define AsOutputArchSize 32
# define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
# endif
#endif