[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: gnu: footswitch: Use cc-for-target.
From: |
guix-commits |
Subject: |
01/04: gnu: footswitch: Use cc-for-target. |
Date: |
Thu, 24 Sep 2020 10:24:56 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 6c1f173650728eb9d5f21254686e9b923808a89b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Sep 24 17:15:43 2020 +0300
gnu: footswitch: Use cc-for-target.
* gnu/packages/accessibility.scm (footswitch)[arguments]: Replace
hard-coded gcc with cc-for-target in make-flags.
---
gnu/packages/accessibility.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/accessibility.scm b/gnu/packages/accessibility.scm
index 14ce805..3403154 100644
--- a/gnu/packages/accessibility.scm
+++ b/gnu/packages/accessibility.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2017 Stefan Reichör <stefan@xsteve.at>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Andrew Miloradovsky <andrew@interpretmath.pw>
+;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -272,7 +273,7 @@ available to help to click.")
`(("hidapi" ,hidapi)))
(arguments
`(#:tests? #f ; no tests
- #:make-flags (list "CC=gcc")
+ #:make-flags (list (string-append "CC=" ,(cc-for-target)))
#:phases (modify-phases %standard-phases
(delete 'configure)
;; Install target in the Makefile does not work for Guix