summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-09-18 14:06:06 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-09-18 18:25:59 +0300
commit9ef590dc8a049adaffada12bc8a0b0dd0ee40c29 (patch)
tree5ffd55adfc06c82aee0b3a38bce0b9a02281741a
parent469e6aaea08d539c8e715c69cdb45f937f068741 (diff)
downloadguix-9ef590dc8a049adaffada12bc8a0b0dd0ee40c29.tar.gz
gnu: xxd: Use cc-for-target.
* gnu/packages/vim.scm (xxd)[arguments]: Replace hard-coded gcc with
cc-for-target in make-flags.
-rw-r--r--gnu/packages/vim.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 5814eb421f..c6b1092e71 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -166,7 +166,7 @@ configuration files.")
   (package (inherit vim)
     (name "xxd")
     (arguments
-     `(#:make-flags '("CC=gcc")
+     `(#:make-flags (list ,(string-append "CC=" (cc-for-target)))
        #:tests? #f ; there are none
        #:phases
        (modify-phases %standard-phases