summaryrefslogtreecommitdiff
path: root/gnu/packages/engineering.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2023-07-16 02:00:01 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2023-07-16 02:00:10 +0200
commitb175789352ae7fa4bb4fba55f941c5c79027bbd7 (patch)
tree1606150b19a7e94de67a96691d43fd140204606a /gnu/packages/engineering.scm
parentd23105a329231dce72980202c15370ff1b6733ee (diff)
gnu: librnd: Prepare for cross-compilation.
* gnu/packages/engineering.scm (librnd)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu/packages/engineering.scm')
-rw-r--r--gnu/packages/engineering.scm2
1 files changed, 1 insertions, 1 deletions
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 _