efraim pushed a commit to branch master
in repository guix.

commit ae144ec797cebf6f00f80177101020e92e8f2c47
Author: Efraim Flashner <[email protected]>
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