From 11590bff50fe0244e66c11d995aa5301c8965959 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 31 Aug 2021 13:46:24 +0300 Subject: 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 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 -- cgit 1.4.1