fix to build SDL 1.2.15 under OS X 10.4
This commit is contained in:
		
							parent
							
								
									61d7803cd8
								
							
						
					
					
						commit
						30531bf96a
					
				
							
								
								
									
										8
									
								
								3rdparty/Makefile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								3rdparty/Makefile
									
									
									
									
										vendored
									
									
								
							@ -290,11 +290,15 @@ $(PREFIX)/lib/libSDLmain.a:	archives/$(SDLDEVEL)
 | 
			
		||||
else
 | 
			
		||||
SDLDISABLE = --disable-joystick --disable-audio
 | 
			
		||||
ifeq ($(PLATFORM), Darwin)
 | 
			
		||||
SDLDISABLE += --disable-video-x11
 | 
			
		||||
SDLDISABLE += --without-x
 | 
			
		||||
# the following trick was stolen from macports
 | 
			
		||||
ifeq ($(shell if [ "`uname -r | cut -f1 -d. `" = "8" ] && [ "`sysctl -n hw.vectorunit`" = "1" ] ; then echo "true" ; fi ), true)
 | 
			
		||||
SDLCFLAGS += -faltivec
 | 
			
		||||
endif
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
$(PREFIX)/lib/libSDLmain.a:	$(SDL)/.ok
 | 
			
		||||
	cd $(SDL) && ./configure --host=$(HOST) --prefix=$(PREFIX) \
 | 
			
		||||
	cd $(SDL) && CFLAGS=$(SDLCFLAGS) ./configure --host=$(HOST) --prefix=$(PREFIX) \
 | 
			
		||||
	  $(SDLDISABLE)
 | 
			
		||||
	cd $(SDL) && $(MAKE)
 | 
			
		||||
	cd $(SDL) && $(MAKE) install
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user