guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/11: gnu: mupdf: Prepare for cross-compilation.


From: guix-commits
Subject: 08/11: gnu: mupdf: Prepare for cross-compilation.
Date: Tue, 24 Nov 2020 06:22:53 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 6c1c5fecd6a1af29de8deff3ab35cfc5865e8cb7
Author: Tobias Geerinckx-Rice <me@tobias.gr>
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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]