-
- Downloads
compilers: prefer gcc 5 on linux
Fixes #10170 by preferring gcc@5 on linux This makes sure ENV.cc and ENV.cxx is correctly set: If a formula does not explicitely depend on a brewed gcc, ENV.cc is set to gcc-5 (system gcc-5 or brewed gcc-5) with this change, even if other gcc versions are installed on the system.
Showing
- Library/Homebrew/compilers.rb 9 additions, 1 deletionLibrary/Homebrew/compilers.rb
- Library/Homebrew/extend/os/compilers.rb 4 additions, 0 deletionsLibrary/Homebrew/extend/os/compilers.rb
- Library/Homebrew/extend/os/linux/compilers.rb 11 additions, 0 deletionsLibrary/Homebrew/extend/os/linux/compilers.rb
- Library/Homebrew/test/compiler_selector_spec.rb 17 additions, 1 deletionLibrary/Homebrew/test/compiler_selector_spec.rb
Loading
Please register or sign in to comment