diff options
| author | Misty De Meo | 2013-04-13 01:07:46 -0500 |
|---|---|---|
| committer | Misty De Meo | 2013-05-08 09:38:15 -0500 |
| commit | 733058f24f208199f01b2b24824b6212b95a492c (patch) | |
| tree | b3638ec972f7fd162174589e4fbfb8695cb3a8a6 | |
| parent | 6bafdddbfd6866b8482608e7708d139d309f40eb (diff) | |
| download | homebrew-733058f24f208199f01b2b24824b6212b95a492c.tar.bz2 | |
Add gcc-4.0 to fails_with
| -rw-r--r-- | Library/Homebrew/compilers.rb | 1 | ||||
| -rw-r--r-- | Library/Homebrew/macos.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index a68d4f3d2..b871e1aeb 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -67,6 +67,7 @@ class CompilerSelector when :clang then MacOS.clang_build_version >= 318 ? 3 : 0.5 when :llvm then 2 when :gcc then 1 + when :gcc_4_0 then 0.25 end end end diff --git a/Library/Homebrew/macos.rb b/Library/Homebrew/macos.rb index d3c1d9814..802da0de6 100644 --- a/Library/Homebrew/macos.rb +++ b/Library/Homebrew/macos.rb @@ -127,6 +127,7 @@ module MacOS extend self $1.to_i end end + alias_method :gcc_4_0_build_version, :gcc_40_build_version def gcc_42_build_version @gcc_42_build_version ||= if locate("gcc-4.2") \ |
