gnu: binutils: Update to 2.23.1.

* gnu/packages/base.scm (binutils): Update to 2.23.1.  Add
  `--disable-werror'.
  (binutils-boot0): Augment BINUTILS's configure flags.
This commit is contained in:
Ludovic Courtès 2013-03-15 18:37:40 +01:00
parent 30db6af1de
commit 444c64b04e

View file

@ -342,14 +342,14 @@ (define-public gnu-make
(define-public binutils (define-public binutils
(package (package
(name "binutils") (name "binutils")
(version "2.22") (version "2.23.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnu/binutils/binutils-" (uri (string-append "mirror://gnu/binutils/binutils-"
version ".tar.bz2")) version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"1a9w66v5dwvbnawshjwqcgz7km6kw6ihkzp6sswv9ycc3knzhykc")))) "06bs5v5ndb4g5qx96d52lc818gkbskd1m0sz57314v887sqfbcia"))))
(build-system gnu-build-system) (build-system gnu-build-system)
;; Split Binutils in several outputs, mostly to avoid collisions in ;; Split Binutils in several outputs, mostly to avoid collisions in
@ -367,7 +367,11 @@ (define-public binutils
"LDFLAGS=-static-libgcc" "LDFLAGS=-static-libgcc"
;; Don't search under /usr/lib & co. ;; Don't search under /usr/lib & co.
"--with-lib-path=/no-ld-lib-path"))) "--with-lib-path=/no-ld-lib-path"
;; Glibc 2.17 has a "comparison of unsigned
;; expression >= 0 is always true" in wchar.h.
"--disable-werror")))
(synopsis "GNU Binutils, tools for manipulating binaries (linker, (synopsis "GNU Binutils, tools for manipulating binaries (linker,
assembler, etc.)") assembler, etc.)")
@ -703,7 +707,8 @@ (define binutils-boot0
#:implicit-inputs? #f #:implicit-inputs? #f
,@(substitute-keyword-arguments (package-arguments binutils) ,@(substitute-keyword-arguments (package-arguments binutils)
((#:configure-flags cf) ((#:configure-flags cf)
`(list ,(string-append "--target=" (boot-triplet))))))) `(cons ,(string-append "--target=" (boot-triplet))
,cf)))))
(inputs %boot0-inputs)))) (inputs %boot0-inputs))))
(define gcc-boot0 (define gcc-boot0