gnu: footswitch: Use cc-for-target.
* gnu/packages/accessibility.scm (footswitch)[arguments]: Replace hard-coded gcc with cc-for-target in make-flags.
This commit is contained in:
parent
ff43f128b7
commit
6c1f173650
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
|
;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
|
||||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2019 Andrew Miloradovsky <andrew@interpretmath.pw>
|
;;; Copyright © 2019 Andrew Miloradovsky <andrew@interpretmath.pw>
|
||||||
|
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -272,7 +273,7 @@ available to help to click.")
|
||||||
`(("hidapi" ,hidapi)))
|
`(("hidapi" ,hidapi)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no tests
|
`(#:tests? #f ; no tests
|
||||||
#:make-flags (list "CC=gcc")
|
#:make-flags (list (string-append "CC=" ,(cc-for-target)))
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
;; Install target in the Makefile does not work for Guix
|
;; Install target in the Makefile does not work for Guix
|
||||||
|
|
Reference in a new issue