Superenv: be more specific about -O flags
Closes Homebrew/homebrew#15775.
This commit is contained in:
		
							parent
							
								
									32b1d46c96
								
							
						
					
					
						commit
						e502728641
					
				@ -103,7 +103,7 @@ class Cmd
 | 
			
		||||
        whittler.next
 | 
			
		||||
      when /^-g\d?/, /^-gstabs\d+/, '-gstabs+', /^-ggdb\d?/, '-gdwarf-2',
 | 
			
		||||
           /^-march=.+/, /^-mtune=.+/, '-m64', '-m32',
 | 
			
		||||
           /^-O[0-9zs]?/, '-fast',
 | 
			
		||||
           /^-O[0-9zs]?$/, '-fast',
 | 
			
		||||
           '-pedantic', '-pedantic-errors'
 | 
			
		||||
      when '-fopenmp', '-lgomp'
 | 
			
		||||
        # clang doesn't support OpenMP
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user