[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/04: gnu: vsftpd: Cross-compile.
From: |
guix-commits |
Subject: |
04/04: gnu: vsftpd: Cross-compile. |
Date: |
Fri, 2 Jul 2021 01:15:36 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit c2533c3da2f277babb9f64e875896f24a51ff4a6
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Fri Jul 2 04:43:28 2021 +0200
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(-)
diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm
index 5d07052..cd51ec5 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