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:
Mike McQuaid 2023-11-06 13:07:41 +00:00 committed by GitHub
commit 0373b80628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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