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>
This commit is contained in:
Tobias Geerinckx-Rice 2022-01-16 01:00:00 +01:00
parent 811b9b050e
commit dfc32d8d99
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2658,7 +2658,10 @@ (define-public tftp-hpa
(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