binutils 2.26
Closes Homebrew/homebrew#50426. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>master
parent
8d8e30ddb7
commit
e240ee0927
|
@ -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
|
||||
|
@ -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",
|
||||
|
@ -38,6 +31,6 @@ class Binutils < Formula
|
|||
end
|
||||
|
||||
test do
|
||||
assert_match /main/, shell_output("#{bin}/gnm #{bin}/gnm")
|
||||
assert_match "main", shell_output("#{bin}/gnm #{bin}/gnm")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue