guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: ed: Use cc-for-target.


From: guix-commits
Subject: 03/03: gnu: ed: Use cc-for-target.
Date: Wed, 23 Mar 2022 05:45:51 -0400 (EDT)

efraim pushed a commit to branch core-updates
in repository guix.

commit 01647fc80c0a15610b5e1a944a91c6e8a7900619
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 23 11:20:20 2022 +0200

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]