nckx pushed a commit to branch master
in repository guix.
commit 6c1c5fecd6a1af29de8deff3ab35cfc5865e8cb7
Author: Tobias Geerinckx-Rice <[email protected]>
AuthorDate: Tue Nov 24 01:31:41 2020 +0100
gnu: mupdf: Prepare for cross-compilation.
* gnu/packages/pdf.scm (mupdf)[arguments]: Use CC-FOR-TARGET.
---
gnu/packages/pdf.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 59c8c02..235950c 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -724,8 +724,8 @@ extracting content or merging files.")
(native-inputs
`(("pkg-config" ,pkg-config)))
(arguments
- '(#:tests? #f ; no check target
- #:make-flags (list "CC=gcc"
+ `(#:tests? #f ; no check target
+ #:make-flags (list (string-append "CC=" ,(cc-for-target))
"XCFLAGS=-fpic"
"USE_SYSTEM_LIBS=yes"
"USE_SYSTEM_MUJS=yes"