diff options
| author | Alex Wang | 2016-09-13 15:03:37 -0400 | 
|---|---|---|
| committer | Alex Wang | 2016-09-14 11:42:45 -0400 | 
| commit | 4cec6f5dd0aed2ece19b5d3e755d7da7d4178b13 (patch) | |
| tree | 71a17e3bebe07eea90c1196e2f52b8edfe1384b0 /Library/Homebrew/install_renamed.rb | |
| parent | b505ee3fedc7309a4c1ba43ea304d7a0d3b70d80 (diff) | |
| download | brew-4cec6f5dd0aed2ece19b5d3e755d7da7d4178b13.tar.bz2 | |
Teach brew to recognize gcc-HEAD as valid compiler
Building gcc with --HEAD results in most of the executables not having a
version suffix, e.g. Building/installing gcc 6 would result in gcc-6,
g++-6, etc. being installed, while building/installing gcc --HEAD would
result in gcc-, g++-, etc. being installed.
The lack of a version suffix prevented brew from recognizing a valid gcc
install, resulting in brew instructing users to install gcc before
building certain formulae even though gcc is installed.
A patch to the gcc formula makes the version number for --HEAD builds
the major version number of the stable version + 1 (7 at this time).
This patch teaches brew to recognize current --HEAD builds as valid
compilers.
Diffstat (limited to 'Library/Homebrew/install_renamed.rb')
0 files changed, 0 insertions, 0 deletions
