guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: oil: Don't hardcode gcc.


From: guix-commits
Subject: 02/02: gnu: oil: Don't hardcode gcc.
Date: Sun, 20 Sep 2020 16:43:45 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit ae144ec797cebf6f00f80177101020e92e8f2c47
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Sep 20 23:40:46 2020 +0300

    gnu: oil: Don't hardcode gcc.
    
    * gnu/packages/shells.scm (oil)[arguments]: In custom 'configure phase
    use cc-for-target instead of hardcoding gcc.
---
 gnu/packages/shells.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index affc98a..5225e12 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -829,7 +829,7 @@ Shell (pdksh).")
          (replace 'configure
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))
-               (setenv "CC" "gcc")
+               (setenv "CC" ,(cc-for-target))
                (substitute* "configure"
                  ((" cc ") " $CC "))
                (invoke "./configure" (string-append "--prefix=" out)



reply via email to

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