Browse Source

gnu: usb-modeswitch: Use CC-FOR-TARGET.

* gnu/packages/usb-modeswitch.scm (usb-modeswitch)[arguments]: Use
CC-FOR-TARGET.
gn-latest-20200725
Tobias Geerinckx-Rice 1 year ago
parent
commit
9cb208d86b
No known key found for this signature in database GPG Key ID: DB0FF884F556D79
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      gnu/packages/usb-modeswitch.scm

+ 3
- 1
gnu/packages/usb-modeswitch.scm View File

@ -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


Loading…
Cancel
Save