mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Fix for issue 9164
This commit is contained in:
		
							parent
							
								
									5fd8785567
								
							
						
					
					
						commit
						725443fef9
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -143,8 +143,7 @@ def get_platform (): | ||||||
|                 cflags = get_config_vars().get('CFLAGS') |                 cflags = get_config_vars().get('CFLAGS') | ||||||
| 
 | 
 | ||||||
|                 archs = re.findall('-arch\s+(\S+)', cflags) |                 archs = re.findall('-arch\s+(\S+)', cflags) | ||||||
|                 archs.sort() |                 archs = tuple(sorted(set(archs))) | ||||||
|                 archs = tuple(archs) |  | ||||||
| 
 | 
 | ||||||
|                 if len(archs) == 1: |                 if len(archs) == 1: | ||||||
|                     machine = archs[0] |                     machine = archs[0] | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ronald Oussoren
						Ronald Oussoren