gnu: mcelog: Cross-compile.
* gnu/packages/linux.scm (mcelog)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
		
							parent
							
								
									1f2e96ad03
								
							
						
					
					
						commit
						0463f7d706
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -5933,7 +5933,7 @@ the default @code{nsswitch} and the experimental @code{umich_ldap}.")
 | 
			
		|||
     `(#:phases (modify-phases %standard-phases
 | 
			
		||||
                  (delete 'configure))  ; no configure script
 | 
			
		||||
       #:make-flags (let ((out (assoc-ref %outputs "out")))
 | 
			
		||||
                      (list "CC=gcc"
 | 
			
		||||
                      (list (string-append "CC=" ,(cc-for-target))
 | 
			
		||||
                            (string-append "prefix=" out)
 | 
			
		||||
                            (string-append "DOCDIR=" out "/share/doc/"
 | 
			
		||||
                                           ,name "-" ,version)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue