gnu: flashrom: Update to 1.0.1.

* gnu/packages/flashing-tools.scm (flashrom): Update to 1.0.1.
[arguments]: Remove CFLAGS work-around.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-05 04:06:25 +02:00
parent 06effaf6a1
commit 17499793b1
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -48,16 +48,15 @@
(define-public flashrom (define-public flashrom
(package (package
(name "flashrom") (name "flashrom")
;; XXX: The CFLAGS=... line below can probably be removed when updating. (version "1.0.1")
(version "1.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
"https://download.flashrom.org/releases/flashrom-" "https://download.flashrom.org/releases/flashrom-v"
version ".tar.bz2")) version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"0r7fkpfc8w51n8ffbhclj4wa3kwrk0ijv1acwpw5myx5bchzl0ip")))) "0i6yrrl69hrqmwd7azj7x3j46m0qpvzmk3b5basym7mnlpfzhyfm"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs `(("dmidecode" ,dmidecode) (inputs `(("dmidecode" ,dmidecode)
("pciutils" ,pciutils) ("pciutils" ,pciutils)
@ -67,9 +66,6 @@
(arguments (arguments
'(#:make-flags '(#:make-flags
(list "CC=gcc" (list "CC=gcc"
;; The default includes -Wall -Werror, causing the build to fail
;; with deprecation warnings against libusb versions >= 1.0.22.
"CFLAGS=-Os -Wshadow"
(string-append "PREFIX=" %output) (string-append "PREFIX=" %output)
"CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no") "CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no")
#:tests? #f ; no 'check' target #:tests? #f ; no 'check' target