guix-commits
[Top][All Lists]
Advanced

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

17/26: gnu: hurd: Use -Wno-error=.


From: guix-commits
Subject: 17/26: gnu: hurd: Use -Wno-error=.
Date: Thu, 12 Dec 2024 08:50:04 -0500 (EST)

janneke pushed a commit to branch core-packages-team
in repository guix.

commit 71b80efe05722067434d1d8383ecf68a6867a857
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Dec 12 14:27:29 2024 +0100

    gnu: hurd: Use -Wno-error=.
    
    * gnu/packages/hurd.scm (hurd)[arguments]: Insert "error=" in WARNINGS.
    
    Change-Id: I13f071edfce2b66e8fb0ead85403052a09fb0411
---
 gnu/packages/hurd.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 4342686517..bb899065e0 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -499,12 +499,13 @@ 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")
+                      (string-append
+                       "WARNINGS="
+                       " -Wno-error=declaration-missing-parameter-type"
+                       " -Wno-error=implicit-function-declaration"
+                       " -Wno-error=implicit-int"
+                       " -Wno-error=int-conversion"
+                       " -Wno-error=strict-prototypes")
                       (string-append "ARCH=" arch)))))
          (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]