From 01647fc80c0a15610b5e1a944a91c6e8a7900619 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 23 Mar 2022 11:20:20 +0200 Subject: gnu: ed: Use cc-for-target. * gnu/packages/ed.scm (ed)[arguments]: Replace hardcoded gcc with cc-for-target. --- gnu/packages/ed.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ed.scm b/gnu/packages/ed.scm index dc77c37ed6..31c41fa5ef 100644 --- a/gnu/packages/ed.scm +++ b/gnu/packages/ed.scm @@ -22,6 +22,7 @@ #: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 @@ (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 -- cgit 1.4.1