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|
|
||||
case other
|
||||
when GNU_GCC_REGEXP
|
||||
other
|
||||
other.to_sym
|
||||
else
|
||||
raise "Invalid value for #{source}: #{other}"
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user