1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: pcb-rnd: Prepare for cross-compilation.

* gnu/packages/engineering.scm (pcb-rnd)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice
2023-07-16 02:00:01 +02:00
parent 479eb63f2a
commit c8c78b08d2

View File

@@ -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 _