gnu: abduco: Use cc-for-target.

* gnu/packages/abduco.scm (abduco)[arguments]: Replace hard-coded gcc
with cc-for-target in make-flags.
This commit is contained in:
Efraim Flashner 2020-09-24 17:18:42 +03:00
parent 9995f7ebbc
commit 9e5758630d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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 @@ (define-public abduco
"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)