diff options
| author | Jack Nagel | 2014-08-03 10:47:47 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-03 10:47:47 -0500 |
| commit | e5d6247ae7b33a76e90610c94d29b025d6be20fc (patch) | |
| tree | f53fd1f1d2b6db6647f8f445a4eb2f07dea6c2ae /Library/Homebrew/formula.rb | |
| parent | 2fedd5b09ad9b3a2b9f80a1cb8b3b2d13ff7b5f5 (diff) | |
| download | brew-e5d6247ae7b33a76e90610c94d29b025d6be20fc.tar.bz2 | |
Rename compiler attribute to name
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 4961c7980..4c99de692 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -235,7 +235,7 @@ class Formula (self.class.cc_failures || []).any? do |failure| # Major version check distinguishes between, e.g., # GCC 4.7.1 and GCC 4.8.2, where a comparison is meaningless - failure.compiler == cc.name && failure.major_version == cc.major_version && + failure.name == cc.name && failure.major_version == cc.major_version && failure.version >= (cc.version || 0) end end |
