Right now this is done through the gcc@5 formula.
See 9692318ca6/Formula/gcc%405.rb (L33)
This is fragile because when we will migrate to gcc@11
we have to think about migrating the installation from one gcc formula to another..
Also, not having the right glibc version results in a non-functional brew
installation on an older Linux: the glibc installation needs
to be done by brew, and not by a workaround in a specific formula
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
Co-Authored-By: Bo Anderson <mail@boanderson.me>
Co-Authored-By: Shaun Jackman <sjackman@gmail.com>
		
	
			
		
			
				
	
	
		
			9 lines
		
	
	
		
			174 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			174 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
# typed: strict
 | 
						|
# frozen_string_literal: true
 | 
						|
 | 
						|
if OS.mac?
 | 
						|
  require "extend/os/mac/dependency_collector"
 | 
						|
elsif OS.linux?
 | 
						|
  require "extend/os/linux/dependency_collector"
 | 
						|
end
 |