mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.7 KiB

  1. This patch adds the missing PowerPC definitions (am I / are we the only
  2. person / people on earth that build for PowerPC ?!?!?!?!?!?!?!?)
  3. - Rene Rebe <rene@rocklinux.org>
  4. --- vnc_unixsrc/Xvnc/config/cf/Imake.cf.orig 2003-09-06 03:01:25.000000000 +0200
  5. +++ vnc_unixsrc/Xvnc/config/cf/Imake.cf 2003-09-06 03:01:13.000000000 +0200
  6. @@ -552,6 +552,10 @@
  7. # define AlphaArchitecture
  8. # undef __alpha
  9. # endif /* __alpha */
  10. +# ifdef __powerpc
  11. +# define ppcArchitecture
  12. +# undef __powerpc
  13. +# endif /* __powerpc */
  14. # ifdef mc68000
  15. # define Mc68020Architecture
  16. # undef mc68000
  17. --- vnc_unixsrc/Xvnc/config/cf/linux.cf.orig 1998-05-11 18:38:06.000000000 +0200
  18. +++ vnc_unixsrc/Xvnc/config/cf/linux.cf 2003-09-06 02:51:52.000000000 +0200
  19. @@ -197,6 +197,13 @@
  20. #define AsmDefines -D__ELF__
  21. #define CplusplusCmd c++ -b alpha-linux
  22. #endif /* AlphaArchitecture */
  23. +#ifdef ppcArchitecture
  24. +#define CcCmd gcc
  25. +#define AsCmd /usr/powerpc-linux/bin/as
  26. +#define LdCmd ld -m elf32powerpc
  27. +#define AsmDefines -D__ELF__
  28. +#define CplusplusCmd c++ -b powerpc-linux
  29. +#endif /* ppcArchitecture */
  30. #ifdef i386Architecture
  31. #define CcCmd gcc -b i486-linux
  32. #define AsCmd /usr/i486-linux/bin/as
  33. @@ -252,6 +259,13 @@
  34. #define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines -D_XSERVER64
  35. #endif /* AlphaArchitecture */
  36. +#ifdef ppcArchitecture
  37. +#define OptimizedCDebugFlags -O2
  38. +#define LinuxMachineDefines -D__powerpc__
  39. +#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DPART_NET
  40. +#define ServerExtraDefines -DGCCUSESGAS XFree86ServerDefines
  41. +#endif /* ppcArchitecture */
  42. +
  43. #ifdef Mc68020Architecture
  44. #define OptimizedCDebugFlags -O2
  45. #define LinuxMachineDefines -D__mc68000__