mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Enable PowerPC to be recognized by build.
Patch from Douglas Mencken.
This commit is contained in:
parent
0abce74629
commit
1a03c25947
2 changed files with 19 additions and 0 deletions
|
@ -159,6 +159,11 @@ XCOMM binutils: (LinuxBinUtilsMajorVersion)
|
||||||
#endif
|
#endif
|
||||||
#endif /* AMD64Architecture */
|
#endif /* AMD64Architecture */
|
||||||
|
|
||||||
|
#ifdef PpcArchitecture
|
||||||
|
#define OptimizedCDebugFlags -O2
|
||||||
|
#define LinuxMachineDefines -D__powerpc__
|
||||||
|
#endif /* PpcArchitecture */
|
||||||
|
|
||||||
#ifdef AlphaArchitecture
|
#ifdef AlphaArchitecture
|
||||||
#define OptimizedCDebugFlags -O2
|
#define OptimizedCDebugFlags -O2
|
||||||
#define LinuxMachineDefines -D__alpha__
|
#define LinuxMachineDefines -D__alpha__
|
||||||
|
|
|
@ -325,10 +325,24 @@ char *cpp_argv[ARGUMENTS] = {
|
||||||
# ifdef __x86_64__
|
# ifdef __x86_64__
|
||||||
"-D__amd64__",
|
"-D__amd64__",
|
||||||
# endif
|
# endif
|
||||||
|
# ifdef __ppc__
|
||||||
|
{"-D__powerpc__", "1"},
|
||||||
|
# endif
|
||||||
|
# ifdef __ppc64__
|
||||||
|
{"-D__powerpc64__", "1"},
|
||||||
|
# endif
|
||||||
|
# ifdef __powerpc__
|
||||||
|
{"-D__powerpc__", "1"},
|
||||||
|
# endif
|
||||||
|
# ifdef __powerpc64__
|
||||||
|
{"-D__powerpc64__", "1"},
|
||||||
|
# endif
|
||||||
|
|
||||||
# ifdef __GNUC__
|
# ifdef __GNUC__
|
||||||
"-traditional",
|
"-traditional",
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef M4330
|
#ifdef M4330
|
||||||
"-DM4330", /* Tektronix */
|
"-DM4330", /* Tektronix */
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue