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

Commit

Permalink
binutils 2.26
Browse files Browse the repository at this point in the history
Closes #50426.

Signed-off-by: Dominyk Tiller <[email protected]>
  • Loading branch information
DomT4 committed Mar 25, 2016
1 parent 83afe89 commit 3e60cd3
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions Library/Formula/binutils.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
class Binutils < Formula
desc "FSF Binutils for native development"
homepage "https://www.gnu.org/software/binutils/binutils.html"
url "http://ftpmirror.gnu.org/binutils/binutils-2.25.1.tar.gz"
mirror "https://ftp.gnu.org/gnu/binutils/binutils-2.25.1.tar.gz"
sha256 "82a40a37b13a12facb36ac7e87846475a1d80f2e63467b1b8d63ec8b6a2b63fc"

# No --default-names option as it interferes with Homebrew builds.
url "http://ftpmirror.gnu.org/binutils/binutils-2.26.tar.gz"
mirror "https://ftp.gnu.org/gnu/binutils/binutils-2.26.tar.gz"
sha256 "9615feddaeedc214d1a1ecd77b6697449c952eab69d79ab2125ea050e944bcc1"

bottle do
sha256 "ab393fd01e8bb2f9ff697efa3e14765eb32468a46380ce8c2db0d5baf1b588b5" => :el_capitan
Expand All @@ -14,12 +12,7 @@ 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
# No --default-names option as it interferes with Homebrew builds.

def install
system "./configure", "--disable-debug",
Expand All @@ -38,6 +31,6 @@ def install
end

test do
assert_match /main/, shell_output("#{bin}/gnm #{bin}/gnm")
assert_match "main", shell_output("#{bin}/gnm #{bin}/gnm")
end
end

0 comments on commit 3e60cd3

Please sign in to comment.