Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

gcc: add 10.10 patch. #32039

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Library/Formula/gcc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ def version_suffix
version.to_s.slice(/\d\.\d/)
end

# Fix 10.10 issues: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407
patch do
url "https://gcc.gnu.org/bugzilla/attachment.cgi?id=33180"
sha1 "def0cb036a255175db86f106e2bb9dd66d19b702"
end

def install
# GCC will suffer build errors if forced to use a particular linker.
ENV.delete "LD"
Expand Down