mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	Portability fix for alsa-lib on mips
From: Henryk Plötz <henryk@ploetzli.ch> I recently had problems building alsa-lib 1.0.10 on mips (for my Netgear WGT634U). Turned out the problem was in include/alsa-symbols.h were there was __asm__ code that wouldn't work with the mips assembler. Attached is a patch that makes this work again.
This commit is contained in:
		
							parent
							
								
									8f61812f1c
								
							
						
					
					
						commit
						46c67fe070
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -57,7 +57,7 @@
 | 
			
		|||
	__asm__ (".set " #name "," #real);		\
 | 
			
		||||
	__asm__ (".set ." #name ",." #real)
 | 
			
		||||
#else
 | 
			
		||||
#ifdef __alpha__
 | 
			
		||||
#if defined(__alpha__) || defined(__mips__)
 | 
			
		||||
#define use_default_symbol_version(real, name, version) \
 | 
			
		||||
        __asm__ (".weak " #name); \
 | 
			
		||||
        __asm__ (#name " = " #real)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue