guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: tftp-hpa: Fix build with GCC 10.


From: guix-commits
Subject: branch master updated: gnu: tftp-hpa: Fix build with GCC 10.
Date: Sat, 22 Jan 2022 16:37:16 -0500

This is an automated email from the git hooks/post-receive script.

nckx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new dfc32d8d99 gnu: tftp-hpa: Fix build with GCC 10.
dfc32d8d99 is described below

commit dfc32d8d997da74a6e838b450649bd89905ffdc3
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jan 16 01:00:00 2022 +0100

    gnu: tftp-hpa: Fix build with GCC 10.
    
    Fixes #53424.
    
    * gnu/packages/networking.scm (tftp-hpa)[arguments]: Rewrite as Gexp list.
    Add "CFLAGS=-fcommon" to #:configure-flags.
    
    Reported by Ivan Vilata i Balaguer <ivan@selidor.net>
---
 gnu/packages/networking.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index c4e9d59aec..69e27f3113 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -2658,7 +2658,10 @@ speedtest.net.")
                (base32
                 "12vidchglhyc20znq5wdsbhi9mqg90jnl7qr9qs8hbvaz4fkdvmg"))))
     (build-system gnu-build-system)
-    (arguments `(#:tests? #f)) ; no test target
+    (arguments
+     (list #:tests? #f                  ; no test target
+           #:configure-flags
+           #~(list "CFLAGS=-fcommon")))   ; XXX fix 5.2 build with GCC 10
     (synopsis "HPA's tftp client")
     (description
      "This is a tftp client derived from OpenBSD tftp with some extra options



reply via email to

[Prev in Thread] Current Thread [Next in Thread]