guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/21: gnu: librnd: Prepare for cross-compilation.


From: guix-commits
Subject: 09/21: gnu: librnd: Prepare for cross-compilation.
Date: Mon, 17 Jul 2023 12:36:56 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit b175789352ae7fa4bb4fba55f941c5c79027bbd7
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 16 02:00:01 2023 +0200

    gnu: librnd: Prepare for cross-compilation.
    
    * gnu/packages/engineering.scm (librnd)[arguments]: Use CC-FOR-TARGET.
---
 gnu/packages/engineering.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index d281dbb74e..3f0325ecea 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -454,7 +454,7 @@ features.")))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'cc-is-gcc
-            (lambda _ (setenv "CC" "gcc")))
+            (lambda _ (setenv "CC" #$(cc-for-target))))
           (replace 'configure
             ;; The configure script doesn't tolerate most of our configure 
flags.
             (lambda _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]