guix-commits
[Top][All Lists]
Advanced

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

19/27: gnu: hurd: Fix build with gcc-14.


From: guix-commits
Subject: 19/27: gnu: hurd: Fix build with gcc-14.
Date: Tue, 3 Dec 2024 02:41:15 -0500 (EST)

janneke pushed a commit to branch master
in repository guix.

commit ee8a9cdcf30b1724c58a442bcb9f8fd86bcc9e62
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Nov 18 13:46:17 2024 +0100

    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
---
 gnu/packages/hurd.scm | 6 ++++++
 1 file changed, 6 insertions(+)

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 @@ exec ${system}/rc \"$@\"
                                     "/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)



reply via email to

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