Merge pull request #16187 from niu541412/master
Fix TypeError when building from source with gcc compiler in some MacOS version
This commit is contained in:
commit
0373b80628
@ -348,7 +348,7 @@ module SharedEnvExtension
|
|||||||
COMPILER_SYMBOL_MAP.fetch(value) do |other|
|
COMPILER_SYMBOL_MAP.fetch(value) do |other|
|
||||||
case other
|
case other
|
||||||
when GNU_GCC_REGEXP
|
when GNU_GCC_REGEXP
|
||||||
other
|
other.to_sym
|
||||||
else
|
else
|
||||||
raise "Invalid value for #{source}: #{other}"
|
raise "Invalid value for #{source}: #{other}"
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user