diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-07-14 03:24:35 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-07-14 03:25:04 +0200 |
commit | 9cb208d86b0fae4b5c2b9ef4fa38a43594434c78 (patch) | |
tree | d972c7adf20eb64c7496943af64c0580bc035884 /gnu | |
parent | dbfd8044254f794c7ee56ae275522674e180bc9c (diff) | |
download | guix-9cb208d86b0fae4b5c2b9ef4fa38a43594434c78.tar.gz |
gnu: usb-modeswitch: Use CC-FOR-TARGET.
* gnu/packages/usb-modeswitch.scm (usb-modeswitch)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/usb-modeswitch.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/usb-modeswitch.scm b/gnu/packages/usb-modeswitch.scm index 990b364be8..2ca4da5e3c 100644 --- a/gnu/packages/usb-modeswitch.scm +++ b/gnu/packages/usb-modeswitch.scm @@ -23,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) @@ -94,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 |