summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-08-31 13:46:24 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-02-07 11:36:04 +0200
commit11590bff50fe0244e66c11d995aa5301c8965959 (patch)
tree1d90dfe53261ae4b7a735b1b5dbcdd832eaeb0b1
parent3344567bb14b8445495e402f0043dcf23f588242 (diff)
downloadguix-11590bff50fe0244e66c11d995aa5301c8965959.tar.gz
gnu: make-opensbi-package: Fix native building.
* gnu/packages/firmware.scm (make-opensbi-package)[arguments]: When not
cross-compiling set CC to gcc.
-rw-r--r--gnu/packages/firmware.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 3a97765931..b63ad63749 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -248,7 +248,7 @@ broadband modem as found, for example, on PinePhone.")
                                                           (%current-system)))
                                      (string-prefix? "riscv64" arch))
                                 `("CROSS_COMPILE=riscv64-linux-gnu-")
-                                '())
+                                `("CC=gcc"))
                           "FW_PAYLOAD=n"
                           "V=1")
        #:phases