aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/binutils.rb
diff options
context:
space:
mode:
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