guix-commits
[Top][All Lists]
Advanced

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

branch wip-riscv updated: gnu: make-opensbi-package: Fix native building


From: guix-commits
Subject: branch wip-riscv updated: gnu: make-opensbi-package: Fix native building.
Date: Tue, 31 Aug 2021 06:49:05 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch wip-riscv
in repository guix.

The following commit(s) were added to refs/heads/wip-riscv by this push:
     new bcfc6ee  gnu: make-opensbi-package: Fix native building.
bcfc6ee is described below

commit bcfc6ee46b96a121ce55f9f27cfcd0f25bf13ce2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Aug 31 13:46:24 2021 +0300

    gnu: make-opensbi-package: Fix native building.
    
    * gnu/packages/firmware.scm (make-opensbi-package)[arguments]: When not
    cross-compiling set CC to gcc.
---
 gnu/packages/firmware.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index f7d57e5..6e1191b 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -217,7 +217,7 @@ by the b43-open driver of Linux-libre.")
                                                           (%current-system)))
                                      (string-prefix? "riscv64" arch))
                                 `("CROSS_COMPILE=riscv64-linux-gnu-")
-                                '())
+                                `("CC=gcc"))
                           "FW_PAYLOAD=n"
                           "V=1")
        #:phases



reply via email to

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