Merge pull request #7358 from Bo98/werror
shims/super/cc: allow -Werror=implicit-function-declaration
This commit is contained in:
		
						commit
						863f38eb24
					
				@ -199,7 +199,7 @@ class Cmd
 | 
				
			|||||||
      args << arg unless tool =~ /^g..-4.[02]/
 | 
					      args << arg unless tool =~ /^g..-4.[02]/
 | 
				
			||||||
    when /^-Wl,-z,defs/
 | 
					    when /^-Wl,-z,defs/
 | 
				
			||||||
      # -Wl,-undefined,error is already the default
 | 
					      # -Wl,-undefined,error is already the default
 | 
				
			||||||
    when /^-W[alp],/, /^-Wno-/
 | 
					    when /^-W[alp],/, /^-Wno-/, "-Werror=implicit-function-declaration"
 | 
				
			||||||
      args << arg
 | 
					      args << arg
 | 
				
			||||||
    when /^-W.*/
 | 
					    when /^-W.*/
 | 
				
			||||||
      # prune warnings
 | 
					      # prune warnings
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user