From 4312f94013ccafbd2d6cbda0cf5fec5b7e30d72c Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sat, 13 Apr 2013 01:07:46 -0500 Subject: Add gcc-4.0 to fails_with --- Library/Homebrew/compilers.rb | 1 + Library/Homebrew/macos.rb | 1 + 2 files changed, 2 insertions(+) (limited to 'Library/Homebrew') 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") \ -- cgit v1.2.3