Write the positive case first
This commit is contained in:
		
							parent
							
								
									de9ce56414
								
							
						
					
					
						commit
						815e7f29fc
					
				@ -87,10 +87,10 @@ class Cmd
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    if sdkroot
 | 
			
		||||
      if tool != 'ld'
 | 
			
		||||
        args << "--sysroot=#{sdkroot}"
 | 
			
		||||
      else
 | 
			
		||||
      if tool == "ld"
 | 
			
		||||
        args << "-syslibroot" << sdkroot
 | 
			
		||||
      else
 | 
			
		||||
        args << "--sysroot=#{sdkroot}"
 | 
			
		||||
      end
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user