mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 03:21:49 +02:00
gnu: vsftpd: Fix build with recent OpenSSL.
* gnu/packages/ftp.scm (vsftpd)[arguments]: Add "-Wno-deprecated-declarations" to CFLAGS. Reported by helioscultist in #guix.
This commit is contained in:
@@ -266,6 +266,9 @@ directory comparison and more.")
|
||||
(arguments
|
||||
`(#:make-flags
|
||||
(list (string-append "CC=" ,(cc-for-target))
|
||||
;; Work around, e.g., “ssl.c:149:7: error: ‘EC_KEY_free’ is
|
||||
;; deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]”
|
||||
"CFLAGS=-Wno-deprecated-declarations"
|
||||
;; vsf_findlibs.sh looks only for hard-coded {/usr,}/lib file names
|
||||
;; that will never exist on Guix. Manage libraries ourselves.
|
||||
"LDFLAGS=-lcap -lpam"
|
||||
|
||||
Reference in New Issue
Block a user