diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-09-24 17:18:42 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-09-24 17:18:42 +0300 |
commit | 9e5758630db0d01842b980aed2f930ada40c8ce5 (patch) | |
tree | da9b6dd425a0c14276d3e76e5fc513e8f2b1c03d /gnu/packages | |
parent | 9995f7ebbca4acf9da052c008a3194f9d7e9bee6 (diff) | |
download | guix-9e5758630db0d01842b980aed2f930ada40c8ce5.tar guix-9e5758630db0d01842b980aed2f930ada40c8ce5.tar.gz |
gnu: abduco: Use cc-for-target.
* gnu/packages/abduco.scm (abduco)[arguments]: Replace hard-coded gcc
with cc-for-target in make-flags.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/abduco.scm | 3 |
1 files changed, 2 insertions, 1 deletions
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) |