gnu: ed: Use cc-for-target.

* gnu/packages/ed.scm (ed)[arguments]: Replace hardcoded gcc with
cc-for-target.
This commit is contained in:
Efraim Flashner 2022-03-23 11:20:20 +02:00
parent b77ec228af
commit 01647fc80c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -22,6 +22,7 @@ (define-module (gnu packages ed)
#:use-module (guix licenses)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (gnu packages compression))
@ -39,7 +40,7 @@ (define-public ed
(build-system gnu-build-system)
(native-inputs (list lzip))
(arguments
'(#:configure-flags '("CC=gcc")
`(#:configure-flags (list ,(string-append "CC=" (cc-for-target)))
#:phases
(modify-phases %standard-phases
(add-before 'patch-source-shebangs 'patch-test-suite