summaryrefslogtreecommitdiff
path: root/gnu/packages/admin.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r--gnu/packages/admin.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 8db547bb76..df98bd2fa8 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2384,10 +2384,10 @@ lookup to YAML Mode. You could enable the mode with @code{(add-hook
(delete 'configure)
(replace 'build
(lambda _
- (invoke "make" "CC=gcc" "-Csrc")))
+ (invoke "make" (string-append "CC=" ,(cc-for-target)) "-Csrc")))
(replace 'check
(lambda _
- (invoke "make" "CC=gcc" "-Ctests")))
+ (invoke "make" (string-append "CC=" ,(cc-for-target)) "-Ctests")))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))