gnu: blktrace: Prepare for cross-compilation.
* gnu/packages/linux.scm (blktrace)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
		
							parent
							
								
									3dec317f1d
								
							
						
					
					
						commit
						ac68ab337c
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
					@ -4331,8 +4331,9 @@ applications.")
 | 
				
			||||||
                (file-name (git-file-name name version))))
 | 
					                (file-name (git-file-name name version))))
 | 
				
			||||||
      (build-system gnu-build-system)
 | 
					      (build-system gnu-build-system)
 | 
				
			||||||
      (arguments
 | 
					      (arguments
 | 
				
			||||||
       '(#:make-flags
 | 
					       `(#:make-flags
 | 
				
			||||||
         (list "CC=gcc" (string-append "prefix=" %output))
 | 
					         (list ,(string-append "CC=" (cc-for-target))
 | 
				
			||||||
 | 
					               (string-append "prefix=" %output))
 | 
				
			||||||
         #:tests? #f                    ; no tests
 | 
					         #:tests? #f                    ; no tests
 | 
				
			||||||
         #:phases
 | 
					         #:phases
 | 
				
			||||||
         (modify-phases %standard-phases
 | 
					         (modify-phases %standard-phases
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue