guix-commits
[Top][All Lists]
Advanced

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

11/21: gnu: pcb-rnd: Prepare for cross-compilation.


From: guix-commits
Subject: 11/21: gnu: pcb-rnd: 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 c8c78b08d228fd44df9b5df78452ee69d7407dd8
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 16 02:00:01 2023 +0200

    gnu: pcb-rnd: Prepare for cross-compilation.
    
    * gnu/packages/engineering.scm (pcb-rnd)[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 f31d4bd04d..4499d9e07c 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -541,7 +541,7 @@ optimizer; and it can produce photorealistic and design 
review images.")
       #: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]