summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <[email protected]>2020-11-16 12:10:43 +0200
committerEfraim Flashner <[email protected]>2020-11-16 13:02:59 +0200
commit7d728270abe6df469b9dd1bb96c09875c8d401e9 (patch)
treeaa0788c7bd16fda4085ad602aa83ffef69deb81e
parent4def7dac231a47a7b04d87616130cc57a1d573c4 (diff)
gnu: btar: Cross compile.
* gnu/packages/backup.scm (btar)[arguments]: Use cc-for-target in make-flags.
-rw-r--r--gnu/packages/backup.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 15b1eb17c7..c145a2f756 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2017 Thomas Danckaert <[email protected]>
;;; Copyright © 2017 Arun Isaac <[email protected]>
;;; Copyright © 2017 Kei Kebreau <[email protected]>
-;;; Copyright © 2017 Efraim Flashner <[email protected]>
+;;; Copyright © 2017, 2020 Efraim Flashner <[email protected]>
;;; Copyright © 2017 Christopher Allan Webber <[email protected]>
;;; Copyright © 2017 Rutger Helling <[email protected]>
;;; Copyright © 2018 Mark H Weaver <[email protected]>
@@ -392,7 +392,7 @@ list and implement the backup strategy.")
`(("librsync" ,librsync-0.9)))
(arguments
`(#:make-flags `(,(string-append "PREFIX=" (assoc-ref %outputs "out"))
- "CC=gcc")
+ ,(string-append "CC=" ,(cc-for-target)))
#:tests? #f ;test input not distributed
#:phases
;; no configure phase