Remove HOMEBREW_CC warning from ENV.compiler
ENV.compiler is called outside setting up the build environment, where values unsupported for user input might have been specified - for example, GNU GCC executables.
This commit is contained in:
		
							parent
							
								
									0e06e9e4b9
								
							
						
					
					
						commit
						96b50e013e
					
				@ -104,7 +104,6 @@ module SharedEnvExtension
 | 
			
		||||
    elsif self['HOMEBREW_CC']
 | 
			
		||||
      cc = COMPLER_ALIASES.fetch(self['HOMEBREW_CC'], self['HOMEBREW_CC'])
 | 
			
		||||
      COMPILER_SYMBOL_MAP.fetch(cc) do |invalid|
 | 
			
		||||
        opoo "Invalid value for HOMEBREW_CC: #{invalid}"
 | 
			
		||||
        MacOS.default_compiler
 | 
			
		||||
      end
 | 
			
		||||
    else
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user