summaryrefslogtreecommitdiff
path: root/gnu/packages/usb-modeswitch.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/usb-modeswitch.scm')
-rw-r--r--gnu/packages/usb-modeswitch.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/packages/usb-modeswitch.scm b/gnu/packages/usb-modeswitch.scm
index 6de810d23d..2ca4da5e3c 100644
--- a/gnu/packages/usb-modeswitch.scm
+++ b/gnu/packages/usb-modeswitch.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019, 2020 Florian Pelz <pelzflorian@pelzflorian.de>
+;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22,6 +23,7 @@
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
+ #:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
@@ -76,7 +78,7 @@ file for use with USB_ModeSwitch.")
(define-public usb-modeswitch
(package
(name "usb-modeswitch")
- (version "2.6.0")
+ (version "2.6.1")
(source (origin
(method url-fetch)
(uri (string-append
@@ -84,7 +86,7 @@ file for use with USB_ModeSwitch.")
"usb-modeswitch-" version ".tar.bz2"))
(sha256
(base32
- "18wbbxc5cfsmikba0msdvd5qlaga27b32nhrzicyd9mdddp265f2"))))
+ "0d7s8p92r36danjd15y1zaznf6rbk17kxyg9367nabz56vhxk5ai"))))
(native-inputs `(("pkg-config" ,pkg-config)))
(inputs `(("libusb" ,libusb)
("jimtcl" ,jimtcl)
@@ -93,7 +95,8 @@ file for use with USB_ModeSwitch.")
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; does not support `make check`
- #:make-flags (list "CC=gcc")
+ #:make-flags
+ (list ,(string-append "CC=" (cc-for-target)))
#:phases
(modify-phases %standard-phases
(delete 'configure) ; no configure script