Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
binutils: add patch for 10.6 and lower
Browse files Browse the repository at this point in the history
Fixes #38014.
  • Loading branch information
mistydemeo committed Sep 1, 2015
1 parent 8527164 commit 0141d94
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Library/Formula/binutils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ class Binutils < Formula
sha256 "689d5c651fba64a18fed5f8f66ba9d156af7f3b8787e383afe8979f535432d64" => :mountain_lion
end

# Fixes build on 10.6. Committed upstream; will be in the next release:
# https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=31593e1b96c792abba3c5268d6423975aefa56b2
patch :p1 do
url "https://gist.githubusercontent.com/mistydemeo/f14c03c0c9ddfce97cf7/raw/2107e53002c34e41ade9b54629e670184e438d80/binutils_10.6.diff"
sha256 "5ff40b9d7ad174d3c24edd8381471b8f5c408703111f0c90135ad0fffba452c2"
end

def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
Expand Down

0 comments on commit 0141d94

Please sign in to comment.