summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/man.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm
index d6ace365fc..c021a1e2e4 100644
--- a/gnu/packages/man.scm
+++ b/gnu/packages/man.scm
@@ -31,6 +31,7 @@
#:use-module (guix packages)
#:use-module (guix build-system gnu)
#:use-module (guix build-system ruby)
+ #:use-module (guix utils)
#:use-module (gnu packages dbm)
#:use-module (gnu packages flex)
#:use-module (gnu packages gawk)
@@ -303,7 +304,8 @@ automatically.")
(build-system gnu-build-system)
(arguments
`(#:make-flags
- (list "CC=gcc" (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ (list (string-append "CC=" ,(cc-for-target))
+ (string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases
(modify-phases %standard-phases
(delete 'configure))))