gnu: vsftpd: Cross-compile.
* gnu/packages/ftp.scm (vsftpd)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
a6e8a9c334
commit
c2533c3da2
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue