gnu: mupdf: Prepare for cross-compilation.
* gnu/packages/pdf.scm (mupdf)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
		
							parent
							
								
									c5427f016a
								
							
						
					
					
						commit
						6c1c5fecd6
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -724,8 +724,8 @@ extracting content or merging files.") | ||||||
|     (native-inputs |     (native-inputs | ||||||
|       `(("pkg-config" ,pkg-config))) |       `(("pkg-config" ,pkg-config))) | ||||||
|     (arguments |     (arguments | ||||||
|       '(#:tests? #f                     ; no check target |       `(#:tests? #f                     ; no check target | ||||||
|         #:make-flags (list "CC=gcc" |         #:make-flags (list (string-append "CC=" ,(cc-for-target)) | ||||||
|                            "XCFLAGS=-fpic" |                            "XCFLAGS=-fpic" | ||||||
|                            "USE_SYSTEM_LIBS=yes" |                            "USE_SYSTEM_LIBS=yes" | ||||||
|                            "USE_SYSTEM_MUJS=yes" |                            "USE_SYSTEM_MUJS=yes" | ||||||
|  |  | ||||||
		Reference in a new issue