gnu: btop: Fix building on "riscv64-linux-gnu".

* gnu/packages/admin.scm (btop): Fix building on "riscv64-linux-gnu".
[arguments]<#:make-flags>: Properly set "CC" and "CXX" to the target compiler.

Change-Id: Ic56d372f83e7ed3fa1843d3ab53303f9b3762616
This commit is contained in:
Artyom V. Poptsov 2025-06-04 21:43:49 +03:00
parent ed5988f0d2
commit 5a8b0663a7
No known key found for this signature in database
GPG key ID: 935EBE0736DC857E

View file

@ -1039,7 +1039,8 @@ console.")
(arguments
(list #:tests? #f ;no test suite
#:make-flags #~(list (string-append "PREFIX=" #$output)
(string-append "CC=" #$(cc-for-target)))
(string-append "CC=" #$(cc-for-target))
(string-append "CXX=" #$(cxx-for-target)))
#:phases #~(modify-phases %standard-phases
(delete 'configure))))
(home-page "https://github.com/aristocratos/btop")