gnu: make-opensbi-package: Fix native building.

* gnu/packages/firmware.scm (make-opensbi-package)[arguments]: When not
cross-compiling set CC to gcc.
This commit is contained in:
Efraim Flashner 2021-08-31 13:46:24 +03:00
parent 3344567bb1
commit 11590bff50
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -248,7 +248,7 @@ (define* (make-opensbi-package platform name #:optional (arch "riscv64"))
(%current-system)))
(string-prefix? "riscv64" arch))
`("CROSS_COMPILE=riscv64-linux-gnu-")
'())
`("CC=gcc"))
"FW_PAYLOAD=n"
"V=1")
#:phases