gnu: hurd: Fix build with gcc-14.

* gnu/packages/hurd.scm (hurd)[arguments]: In phase "build-libdde-linux",
disable some warnings breaking the build, using "WARNINGS=...".

Change-Id: Ib70926a90e1d37080c5b9dd333f19636cdae3013
This commit is contained in:
Janneke Nieuwenhuizen 2024-11-18 13:46:17 +01:00
parent ef15b48379
commit ee8a9cdcf3
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -478,6 +478,12 @@ (define-public hurd
"/bin/bash")
(string-append "CC="
,(cc-for-target))
(string-append "WARNINGS="
" -Wno-declaration-missing-parameter-type"
" -Wno-implicit-function-declaration"
" -Wno-implicit-int"
" -Wno-int-conversion"
" -Wno-strict-prototypes")
"ARCH=x86")))
(add-after 'install 'install-goodies
(lambda* (#:key inputs native-inputs outputs #:allow-other-keys)