diff options
| author | Mike McQuaid | 2016-09-14 20:50:57 +0100 |
|---|---|---|
| committer | GitHub | 2016-09-14 20:50:57 +0100 |
| commit | 985e772278da3cf84ea998d97695e3c17b984775 (patch) | |
| tree | ca4a96b3acf59b2c01274d17e19adb3d6c426a92 | |
| parent | 54884cd9ce973527a8a51ea5008ec17cfc8e7847 (diff) | |
| parent | 4cec6f5dd0aed2ece19b5d3e755d7da7d4178b13 (diff) | |
| download | brew-985e772278da3cf84ea998d97695e3c17b984775.tar.bz2 | |
Merge pull request #955 from aw1621107/allow-gcc-HEAD
Teach brew to recognize gcc-HEAD as valid compiler
| -rw-r--r-- | Library/Homebrew/compilers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index 51f0919e5..b8bc708fa 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -1,7 +1,7 @@ # @private module CompilerConstants - GNU_GCC_VERSIONS = %w[4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 6] - GNU_GCC_REGEXP = /^gcc-(4\.[3-9]|[5-6])$/ + GNU_GCC_VERSIONS = %w[4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 6 7] + GNU_GCC_REGEXP = /^gcc-(4\.[3-9]|[5-7])$/ COMPILER_SYMBOL_MAP = { "gcc-4.0" => :gcc_4_0, "gcc-4.2" => :gcc, |
