gnu: btar: Cross compile.
* gnu/packages/backup.scm (btar)[arguments]: Use cc-for-target in make-flags.
This commit is contained in:
		
							parent
							
								
									4def7dac23
								
							
						
					
					
						commit
						7d728270ab
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -6,7 +6,7 @@
 | 
				
			||||||
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
 | 
					;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
 | 
				
			||||||
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 | 
					;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 | 
				
			||||||
;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
 | 
					;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
 | 
				
			||||||
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
 | 
					;;; Copyright © 2017, 2020 Efraim Flashner <efraim@flashner.co.il>
 | 
				
			||||||
;;; Copyright © 2017 Christopher Allan Webber <cwebber@dustycloud.org>
 | 
					;;; Copyright © 2017 Christopher Allan Webber <cwebber@dustycloud.org>
 | 
				
			||||||
;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
 | 
					;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
 | 
				
			||||||
;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
 | 
					;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
 | 
				
			||||||
| 
						 | 
					@ -392,7 +392,7 @@ list and implement the backup strategy.")
 | 
				
			||||||
     `(("librsync" ,librsync-0.9)))
 | 
					     `(("librsync" ,librsync-0.9)))
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:make-flags `(,(string-append "PREFIX=" (assoc-ref %outputs "out"))
 | 
					     `(#:make-flags `(,(string-append "PREFIX=" (assoc-ref %outputs "out"))
 | 
				
			||||||
                      "CC=gcc")
 | 
					                      ,(string-append "CC=" ,(cc-for-target)))
 | 
				
			||||||
       #:tests? #f                      ;test input not distributed
 | 
					       #:tests? #f                      ;test input not distributed
 | 
				
			||||||
       #:phases
 | 
					       #:phases
 | 
				
			||||||
       ;; no configure phase
 | 
					       ;; no configure phase
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue