binutils 2.21

* also add ARM/thumb support, useful for iOS

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Daniel Peebles 2011-01-09 20:06:05 -05:00 committed by Adam Vandenberg
parent f05fd460ed
commit 6d417e459d

View file

@ -1,9 +1,9 @@
require 'formula'
class Binutils < Formula
url 'http://ftp.gnu.org/gnu/binutils/binutils-2.20.tar.gz'
url 'http://ftp.gnu.org/gnu/binutils/binutils-2.21.tar.gz'
homepage 'http://www.gnu.org/software/binutils/binutils.html'
md5 'e99487e0c4343d6fa68b7c464ff4a962'
md5 'f11e10f312a58d82f14bf571dd9ff91c'
def options
[['--default-names', "Do NOT prepend 'g' to the binary; will override system utils."]]
@ -17,8 +17,10 @@ class Binutils < Formula
"--infodir=#{info}",
"--mandir=#{man}",
"--disable-werror",
"--enable-targets=x86_64-elf"]
"--enable-interwork",
"--enable-multilib",
"--enable-targets=x86_64-elf",
"--enable-targets=arm-none-eabi"]
args << "--program-prefix=g" unless ARGV.include? '--default-names'
system "./configure", *args