Add gcc-4.0 to fails_with

This commit is contained in:
Misty De Meo 2013-04-13 01:07:46 -05:00
parent f61a4f8893
commit 4312f94013
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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") \