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
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -541,7 +541,7 @@ (define-public pcb-rnd
#: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 _