From c2533c3da2f277babb9f64e875896f24a51ff4a6 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 2 Jul 2021 04:43:28 +0200 Subject: gnu: vsftpd: Cross-compile. * gnu/packages/ftp.scm (vsftpd)[arguments]: Use CC-FOR-TARGET. --- gnu/packages/ftp.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/ftp.scm') 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 -- cgit 1.4.1