diff mbox series

[bug#74290,v3,19/51] gnu: hurd: Fix build with gcc-14.

Message ID fc5e5cc6b7c7f21ca916672004fec0034428cfc0.1731999203.git.janneke@gnu.org
State New
Headers show
Series Add support for x86_64-gnu, aka the 64bit Hurd. | expand

Commit Message

Janneke Nieuwenhuizen Nov. 19, 2024, 6:54 a.m. UTC
* gnu/packages/hurd.scm (hurd)[arguments]: In phase "build-libdde-linux",
disable some warnings breaking the build, using "WARNINGS=...".

Change-Id: Ib70926a90e1d37080c5b9dd333f19636cdae3013
---
 gnu/packages/hurd.scm | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 06fae1bd3b..5a60d8ac13 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -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)