[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: abduco: Use cc-for-target.
From: |
guix-commits |
Subject: |
03/04: gnu: abduco: Use cc-for-target. |
Date: |
Thu, 24 Sep 2020 10:24:57 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 9e5758630db0d01842b980aed2f930ada40c8ce5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Sep 24 17:18:42 2020 +0300
gnu: abduco: Use cc-for-target.
* gnu/packages/abduco.scm (abduco)[arguments]: Replace hard-coded gcc
with cc-for-target in make-flags.
---
gnu/packages/abduco.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/abduco.scm b/gnu/packages/abduco.scm
index 37d2f37..19671d1 100644
--- a/gnu/packages/abduco.scm
+++ b/gnu/packages/abduco.scm
@@ -19,6 +19,7 @@
(define-module (gnu packages abduco)
#:use-module (guix build-system gnu)
+ #:use-module (guix utils)
#:use-module (guix download)
#:use-module (guix licenses)
#:use-module (guix packages))
@@ -37,7 +38,7 @@
"1x1m58ckwsprljgmdy93mvgjyg9x3cqrzdf3mysp0mx97zhhj2f9"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags (list "CC=gcc"
+ `(#:make-flags (list (string-append "CC=" ,(cc-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases
(delete 'configure)