aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/binutils.rb
diff options
context:
space:
mode:
authorDaniel Peebles2011-01-09 20:06:05 -0500
committerAdam Vandenberg2011-03-21 15:20:22 -0700
commitfed412f817bdd49f519d782c471772066fd5f8d8 (patch)
treeba3e1f8d3cd470e908d590272996bcf1059f18ca /Library/Formula/binutils.rb
parentd1ca8de6624b53dff70c6e7a2bd9d1021504f9d7 (diff)
downloadhomebrew-fed412f817bdd49f519d782c471772066fd5f8d8.tar.bz2
binutils 2.21
* also add ARM/thumb support, useful for iOS Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/binutils.rb')
-rw-r--r--Library/Formula/binutils.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/binutils.rb b/Library/Formula/binutils.rb
index 8b1d6a3fd..d038c3e07 100644
--- a/Library/Formula/binutils.rb
+++ b/Library/Formula/binutils.rb
@@ -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