From c8c78b08d228fd44df9b5df78452ee69d7407dd8 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 16 Jul 2023 02:00:01 +0200 Subject: 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 _ -- cgit 1.4.1