superenv: fix type error
This is a string since it is used to match string keys in a hash.
This commit is contained in:
parent
90c696ea67
commit
e7f20bcfbc
@ -304,7 +304,7 @@ module Superenv
|
|||||||
end
|
end
|
||||||
GNU_GCC_VERSIONS.each do |n|
|
GNU_GCC_VERSIONS.each do |n|
|
||||||
define_method(:"gcc-4.#{n}") do
|
define_method(:"gcc-4.#{n}") do
|
||||||
@compiler = :"gcc-4.#{n}"
|
@compiler = "gcc-4.#{n}"
|
||||||
self.cc = self['HOMEBREW_CC'] = determine_cc
|
self.cc = self['HOMEBREW_CC'] = determine_cc
|
||||||
self.cxx = self['HOMEBREW_CXX'] = determine_cxx
|
self.cxx = self['HOMEBREW_CXX'] = determine_cxx
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user