diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-03-23 11:20:20 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-03-23 11:20:20 +0200 |
commit | 01647fc80c0a15610b5e1a944a91c6e8a7900619 (patch) | |
tree | db57ae250e81348d01679598f7aff768d9fee50f /gnu/packages/ed.scm | |
parent | b77ec228af23ed267cd94efc0fd673b741c0d6da (diff) |
gnu: ed: Use cc-for-target.
* gnu/packages/ed.scm (ed)[arguments]: Replace hardcoded gcc with
cc-for-target.
Diffstat (limited to 'gnu/packages/ed.scm')
-rw-r--r-- | gnu/packages/ed.scm | 3 |
1 files changed, 2 insertions, 1 deletions
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 |