mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 04:20:44 +02:00
gnu: binutils: Update to 2.35.1.
* gnu/packages/base.scm (binutils): Update to 2.35.1. [arguments]: Remove #:make-flags. [properties]: Remove. (binutils+documentation): Remove. (binutils-gold): Inherit from BINUTILS. * gnu/packages/make-bootstrap.scm (%binutils-static)[arguments]: Remove #:make-flags.
This commit is contained in:
parent
855bc05e11
commit
2a3fccf70f
2 changed files with 4 additions and 30 deletions
|
@ -504,14 +504,14 @@ change. GNU make offers many powerful extensions over the standard utility.")
|
||||||
(define-public binutils
|
(define-public binutils
|
||||||
(package
|
(package
|
||||||
(name "binutils")
|
(name "binutils")
|
||||||
(version "2.34")
|
(version "2.35.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
|
||||||
"1rin1f5c7wm4n3piky6xilcrpf2s0n3dd5vqq8irrxkcic3i1w49"))
|
"0hhrigj2ai1hcdm6rsvdrqmvn8xydhhnw17i2gsdkz261wfpl3ij"))
|
||||||
(patches (search-patches "binutils-loongson-workaround.patch"))))
|
(patches (search-patches "binutils-loongson-workaround.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
|
||||||
|
@ -536,17 +536,7 @@ change. GNU make offers many powerful extensions over the standard utility.")
|
||||||
|
|
||||||
;; Make sure 'ar' and 'ranlib' produce archives in a
|
;; Make sure 'ar' and 'ranlib' produce archives in a
|
||||||
;; deterministic fashion.
|
;; deterministic fashion.
|
||||||
"--enable-deterministic-archives")
|
"--enable-deterministic-archives")))
|
||||||
|
|
||||||
;; XXX: binutils 2.34 was mistakenly released without generated manuals:
|
|
||||||
;; <https://sourceware.org/bugzilla/show_bug.cgi?id=25491>. To avoid a
|
|
||||||
;; circular dependency on texinfo, prevent the build system from creating
|
|
||||||
;; the manuals by calling "true" instead of "makeinfo"...
|
|
||||||
#:make-flags '("MAKEINFO=true")))
|
|
||||||
|
|
||||||
;; ...and "hide" this package so that users who install binutils get the
|
|
||||||
;; version with documentation defined below.
|
|
||||||
(properties '((hidden? . #t)))
|
|
||||||
|
|
||||||
(synopsis "Binary utilities: bfd gas gprof ld")
|
(synopsis "Binary utilities: bfd gas gprof ld")
|
||||||
(description
|
(description
|
||||||
|
@ -559,18 +549,6 @@ included.")
|
||||||
(license gpl3+)
|
(license gpl3+)
|
||||||
(home-page "https://www.gnu.org/software/binutils/")))
|
(home-page "https://www.gnu.org/software/binutils/")))
|
||||||
|
|
||||||
;; Work around a problem with binutils 2.34 whereby manuals are missing from
|
|
||||||
;; the release tarball. Remove this and the related code above when updating.
|
|
||||||
(define-public binutils+documentation
|
|
||||||
(package/inherit
|
|
||||||
binutils
|
|
||||||
(native-inputs
|
|
||||||
`(("texinfo" ,texinfo)))
|
|
||||||
(arguments
|
|
||||||
(substitute-keyword-arguments (package-arguments binutils)
|
|
||||||
((#:make-flags _ ''()) ''())))
|
|
||||||
(properties '())))
|
|
||||||
|
|
||||||
;; FIXME: ath9k-firmware-htc-binutils.patch do not apply on 2.34 because of a
|
;; FIXME: ath9k-firmware-htc-binutils.patch do not apply on 2.34 because of a
|
||||||
;; big refactoring of xtensa-modules.c (commit 567607c11fbf7105 upstream).
|
;; big refactoring of xtensa-modules.c (commit 567607c11fbf7105 upstream).
|
||||||
;; Keep this version around until the patch is updated.
|
;; Keep this version around until the patch is updated.
|
||||||
|
@ -591,7 +569,7 @@ included.")
|
||||||
(properties '())))
|
(properties '())))
|
||||||
|
|
||||||
(define-public binutils-gold
|
(define-public binutils-gold
|
||||||
(package/inherit binutils+documentation
|
(package/inherit binutils
|
||||||
(name "binutils-gold")
|
(name "binutils-gold")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
|
|
@ -375,10 +375,6 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
|
||||||
(package-arguments binutils))
|
(package-arguments binutils))
|
||||||
((#:configure-flags flags _ ...)
|
((#:configure-flags flags _ ...)
|
||||||
flags)))
|
flags)))
|
||||||
#:make-flags ,(match (memq #:make-flags (package-arguments binutils))
|
|
||||||
((#:make-flags flags _ ...)
|
|
||||||
flags)
|
|
||||||
(_ ''()))
|
|
||||||
#:strip-flags '("--strip-all")
|
#:strip-flags '("--strip-all")
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(add-before 'configure 'all-static
|
(add-before 'configure 'all-static
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue