summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-07-02 04:43:28 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-07-02 07:14:10 +0200
commitc2533c3da2f277babb9f64e875896f24a51ff4a6 (patch)
treeba19a7fd640a50750941f1457a443099c6cbe698 /gnu
parenta6e8a9c3340e8f6dcee92dcc3f17d8449d282982 (diff)
downloadguix-c2533c3da2f277babb9f64e875896f24a51ff4a6.tar.gz
gnu: vsftpd: Cross-compile.
* gnu/packages/ftp.scm (vsftpd)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ftp.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm
index 5d07052b39..cd51ec5a15 100644
--- a/gnu/packages/ftp.scm
+++ b/gnu/packages/ftp.scm
@@ -26,6 +26,7 @@
   #:use-module (guix build-system gnu)
   #:use-module (guix download)
   #:use-module (guix packages)
+  #:use-module (guix utils)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages check)
@@ -270,7 +271,8 @@ directory comparison and more.")
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags
-       (list "LDFLAGS=-lcap -lcrypt -lpam"
+       (list (string-append "CC=" ,(cc-for-target))
+             "LDFLAGS=-lcap -lcrypt -lpam"
              "INSTALL=install -D")
        #:tests? #f                      ; no test suite
        #:phases