[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: ncftp: Fix compiling with gcc 10.
From: |
guix-commits |
Subject: |
03/06: gnu: ncftp: Fix compiling with gcc 10. |
Date: |
Mon, 4 Oct 2021 11:19:18 -0400 (EDT) |
glv pushed a commit to branch core-updates-frozen
in repository guix.
commit f88d78b4310cdfc6d77f5c03a9e968f09dcce310
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Mon Oct 4 17:01:23 2021 +0200
gnu: ncftp: Fix compiling with gcc 10.
* gnu/packages/ftp.scm (ncftp)[arguments]: Add '-fcommon' to CFLAGS.
---
gnu/packages/ftp.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/ftp.scm b/gnu/packages/ftp.scm
index 17ad139..0dd6958 100644
--- a/gnu/packages/ftp.scm
+++ b/gnu/packages/ftp.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2016–2021 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
- branch core-updates-frozen updated (8fb8a5d -> 726d077), guix-commits, 2021/10/04
- 01/06: gnu: xmltoman: Fix build., guix-commits, 2021/10/04
- 02/06: gnu: gnugo: Fix compiling with gcc 10., guix-commits, 2021/10/04
- 03/06: gnu: ncftp: Fix compiling with gcc 10.,
guix-commits <=
- 04/06: gnu: w-scan: Fix compiling with gcc 10., guix-commits, 2021/10/04
- 06/06: gnu: vinagre: Fix compiling with gcc 10., guix-commits, 2021/10/04
- 05/06: gnu: git-lfs: Fix build., guix-commits, 2021/10/04