You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Apple GCC 3.3 compile fixes patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
Originally committed as revision 2049 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
				
					committed by
					
						 Michael Niedermayer
						Michael Niedermayer
					
				
			
			
				
	
			
			
			
						parent
						
							8683e4a0c0
						
					
				
				
					commit
					8d6625b621
				
			
							
								
								
									
										11
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								configure
									
									
									
									
										vendored
									
									
								
							| @@ -167,11 +167,14 @@ darwin="yes" | ||||
| strip="strip -x" | ||||
| LDFLAGS="-d" | ||||
| FFSLDFLAGS=-Wl,-bind_at_load | ||||
| gcc_version="$($cc -v 2>&1 | grep version | cut -d ' ' -f4-)" | ||||
| gcc_version="$($cc -v 2>&1 | grep version | cut -d ' ' -f3-)" | ||||
| case "$gcc_version" in | ||||
| *2.95*)  | ||||
| CFLAGS="-no-cpp-precomp -pipe -O3 -fomit-frame-pointer" | ||||
| ;; | ||||
| *3.3*)  | ||||
| CFLAGS="-no-cpp-precomp -pipe -O3 -fomit-frame-pointer -mdynamic-no-pic -force_cpusubtype_ALL" | ||||
| ;; | ||||
| *)  | ||||
| CFLAGS="-no-cpp-precomp -pipe -O3 -fomit-frame-pointer -mdynamic-no-pic" | ||||
| ;; | ||||
| @@ -382,14 +385,14 @@ if test $tune != "generic"; then | ||||
| 	    fi | ||||
| 	    TUNECPU=ppc604 | ||||
| 	;; | ||||
| 	G3|75*|ppc75*|PowerPC75*) | ||||
| 	G3|g3|75*|ppc75*|PowerPC75*) | ||||
| 	    CFLAGS="$CFLAGS -mcpu=750 -mtune=750" | ||||
| 	    if test $altivec = "yes"; then | ||||
| 		echo "WARNING: tuning for PPC75x but altivec enabled !"; | ||||
| 	    fi | ||||
| 	    TUNECPU=ppc750 | ||||
| 	;; | ||||
| 	G4|745*|ppc745*|PowerPC745*) | ||||
| 	G4|g4|745*|ppc745*|PowerPC745*) | ||||
| 	    CFLAGS="$CFLAGS -mcpu=7450 -mtune=7450" | ||||
| 	    if test $altivec = "no"; then | ||||
| 		echo "WARNING: tuning for PPC745x but altivec disabled !"; | ||||
| @@ -403,7 +406,7 @@ if test $tune != "generic"; then | ||||
| 	    fi | ||||
| 	    TUNECPU=ppc7400 | ||||
| 	;; | ||||
| 	G5|970|ppc970|PowerPC970|power4*|Power4*) | ||||
| 	G5|g5|970|ppc970|PowerPC970|power4*|Power4*) | ||||
| 	    CFLAGS="$CFLAGS -mcpu=970 -mtune=970 -mpowerpc64 -force_cpusubtype_ALL " | ||||
| 	    if test $altivec = "no"; then | ||||
| 		echo "WARNING: tuning for PPC970 but altivec disabled !"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user