gnu: vsftpd: Cross-compile.

* gnu/packages/ftp.scm (vsftpd)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2021-07-02 04:43:28 +02:00
parent a6e8a9c334
commit c2533c3da2
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -26,6 +26,7 @@ (define-module (gnu packages ftp)
#: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 @@ (define-public vsftpd
(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