mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +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 /* AMD64Architecture */ | ||||
| 
 | ||||
| #ifdef PpcArchitecture | ||||
| #define OptimizedCDebugFlags    -O2 | ||||
| #define LinuxMachineDefines     -D__powerpc__ | ||||
| #endif /* PpcArchitecture */ | ||||
| 
 | ||||
| #ifdef AlphaArchitecture | ||||
| #define OptimizedCDebugFlags	-O2 | ||||
| #define LinuxMachineDefines	-D__alpha__ | ||||
|  |  | |||
|  | @ -325,10 +325,24 @@ char *cpp_argv[ARGUMENTS] = { | |||
| # ifdef __x86_64__ | ||||
|         "-D__amd64__", | ||||
| # 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__ | ||||
| 	"-traditional", | ||||
| # endif | ||||
| #endif | ||||
| 
 | ||||
| #ifdef M4330 | ||||
| 	"-DM4330",	/* Tektronix */ | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue