binutils 2.21
* also add ARM/thumb support, useful for iOS Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
f05fd460ed
commit
6d417e459d
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue