guix-commits
[Top][All Lists]
Advanced

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

20/27: gnu: netdde: Fix build with gcc-14.


From: guix-commits
Subject: 20/27: gnu: netdde: 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 883869970cd1ae68df0f01259dfb5ab96c66395a
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Nov 18 13:35:07 2024 +0100

    gnu: netdde: Fix build with gcc-14.
    
    * gnu/packages/hurd.scm (netdde)[arguments]: Disable some warnings breaking
    the build, using "WARNINGS=..." in #:make-flags.
    
    Change-Id: I39f577c51eaa3d86abf80a54f7c172324cf56749
---
 gnu/packages/hurd.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 5a60d8ac13..5fdb6359d1 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -592,6 +592,12 @@ implementing them.")
                               (search-input-file %build-inputs "/bin/bash"))
                "PKGDIR=libdde_linux26"
                (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")
          #:configure-flags
          ,#~(list (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib"))



reply via email to

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