gnu: git: Use -Wno-error= for Hurd cross-build.

* gnu/packages/version-control.scm (git-minimal)[arguments]: Insert "error="
in #:configure-flags.

Change-Id: I8d2197b7eb5a1275aebe4d817ff0db77dee55134
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-12 14:35:35 +01:00
parent 9105b56a31
commit f75656d681
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -298,7 +298,7 @@ (define-public git-minimal
;; nars; see <https://bugs.gnu.org/21949>.
"NO_INSTALL_HARDLINKS=indeed"
#$@(if (or (target-hurd64?) (%current-target-system))
#~("-Wno-implicit-function-declaration")
#~("-Wno-error=implicit-function-declaration")
#~()))
#:phases
#~(modify-phases %standard-phases