[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/09: gnu: flashrom: Support libusb versions >1.0.21.
From: |
Tobias Geerinckx-Rice |
Subject: |
03/09: gnu: flashrom: Support libusb versions >1.0.21. |
Date: |
Sun, 25 Mar 2018 14:03:07 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 326654e42becaaa7829f8783bcf075f729d5ecef
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Sun Mar 25 17:31:22 2018 +0200
gnu: flashrom: Support libusb versions >1.0.21.
* gnu/packages/flashing-tools.scm (flashrom)[arguments]: Override CFLAGS
in #:make-flags.
---
gnu/packages/flashing-tools.scm | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm
index 36c8353..dd0eaa5 100644
--- a/gnu/packages/flashing-tools.scm
+++ b/gnu/packages/flashing-tools.scm
@@ -48,6 +48,7 @@
(define-public flashrom
(package
(name "flashrom")
+ ;; XXX: The CFLAGS=... line below can probably be removed when updating.
(version "1.0")
(source (origin
(method url-fetch)
@@ -64,9 +65,13 @@
("libftdi" ,libftdi)))
(native-inputs `(("pkg-config" ,pkg-config)))
(arguments
- '(#:make-flags (list "CC=gcc"
- (string-append "PREFIX=" %output)
- "CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no")
+ '(#:make-flags
+ (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)
+ "CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no")
#:tests? #f ; no 'check' target
#:phases
(modify-phases %standard-phases
- branch master updated (9b36e3b -> a667d20), Tobias Geerinckx-Rice, 2018/03/25
- 01/09: gnu: openlibm: Update to 0.5.5., Tobias Geerinckx-Rice, 2018/03/25
- 05/09: gnu: filezilla: Update to 3.31.0., Tobias Geerinckx-Rice, 2018/03/25
- 02/09: gnu: python-pyld: Update to 1.0.3., Tobias Geerinckx-Rice, 2018/03/25
- 04/09: gnu: hlint: Update to 2.1.1., Tobias Geerinckx-Rice, 2018/03/25
- 09/09: gnu: libmtp: Update to 1.1.15., Tobias Geerinckx-Rice, 2018/03/25
- 08/09: gnu: libusb: Update to 1.0.22., Tobias Geerinckx-Rice, 2018/03/25
- 06/09: gnu: mate-themes: Update to 3.22.15., Tobias Geerinckx-Rice, 2018/03/25
- 03/09: gnu: flashrom: Support libusb versions >1.0.21.,
Tobias Geerinckx-Rice <=
- 07/09: gnu: scotch: Use predictable source URI., Tobias Geerinckx-Rice, 2018/03/25