From 9e5758630db0d01842b980aed2f930ada40c8ce5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 24 Sep 2020 17:18:42 +0300 Subject: 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(-) (limited to 'gnu') diff --git a/gnu/packages/abduco.scm b/gnu/packages/abduco.scm index 37d2f37773..19671d14c9 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) -- cgit 1.4.1