Commit 1839dd64 authored by Mike Gabriel's avatar Mike Gabriel

Fix FTBFS on mips64el architecture due to missing definition of the _XSERVER64 macro.

parent cde05c09
......@@ -883,6 +883,9 @@ XCOMM Keep cpp from replacing path elements containing i486/i586/i686
# undef __mips__
# if defined(MIPSEL) || defined(_MIPSEL)
# define MipselArchitecture
# if (_MIPS_SIM == _ABI64)
# define Mips64elArchitecture
# endif
# endif
# undef MIPSEL
# undef _MIPSEL
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment