me
/
guix
Archived
1
0
Fork 0

gnu: ncftp: Fix compiling with gcc 10.

* gnu/packages/ftp.scm (ncftp)[arguments]: Add '-fcommon' to CFLAGS.
master
Guillaume Le Vaillant 2021-10-04 17:01:23 +02:00
parent df897e1dae
commit f88d78b431
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
;;; Copyright © 20162021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
;;; Copyright © 2021 David Larsson <david.larsson@selfhosted.xyz>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@ -132,6 +133,7 @@ reliability in mind.")
(let ((out (assoc-ref outputs "out")))
(setenv "CONFIG_SHELL" (which "sh"))
(setenv "SHELL" (which "sh"))
(setenv "CFLAGS" "-fcommon")
(invoke "./configure"
(string-append "--prefix=" out))))))
#:tests? #f)) ;there are no tests