guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 5a8b0663a7e81a41040fc08a076c050fcc650c5b
Author: Artyom V. Poptsov <[email protected]>
AuthorDate: Wed Jun 4 21:43:49 2025 +0300

    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
---
 gnu/packages/admin.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 7f7d46af21..2ac09c627e 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -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";)

Reply via email to