Skip to content

Commit

Permalink
Merge pull request #16187 from niu541412/master
Browse files Browse the repository at this point in the history
Fix TypeError when building from source with gcc compiler in some MacOS version
  • Loading branch information
MikeMcQuaid committed Nov 6, 2023
2 parents fce60ee + 2809678 commit 0373b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/extend/ENV/shared.rb
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def fetch_compiler(value, source)
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
Expand Down

0 comments on commit 0373b80

Please sign in to comment.