superenv: fix type error

This is a string since it is used to match string keys in a hash.
This commit is contained in:
Jack Nagel 2013-11-08 23:14:10 -06:00
parent 90c696ea67
commit e7f20bcfbc

View File

@ -304,7 +304,7 @@ module Superenv
end
GNU_GCC_VERSIONS.each do |n|
define_method(:"gcc-4.#{n}") do
@compiler = :"gcc-4.#{n}"
@compiler = "gcc-4.#{n}"
self.cc = self['HOMEBREW_CC'] = determine_cc
self.cxx = self['HOMEBREW_CXX'] = determine_cxx
end