From 9ef590dc8a049adaffada12bc8a0b0dd0ee40c29 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 18 Sep 2020 14:06:06 +0300 Subject: [PATCH] gnu: xxd: Use cc-for-target. * gnu/packages/vim.scm (xxd)[arguments]: Replace hard-coded gcc with cc-for-target in make-flags. --- gnu/packages/vim.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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