diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-12-12 14:27:29 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:15 +0200 |
| commit | fc2f0791aace40a29f9bd77b382caa1d34446e24 (patch) | |
| tree | 60c2ac5850682f55296192e9f1a80e137426a715 | |
| parent | da9a897f5d9878d7ef9b1d1dc5b8469dd68674b2 (diff) | |
gnu: hurd: Use -Wno-error=.
* gnu/packages/hurd.scm (hurd)[arguments]: Insert "error=" in WARNINGS.
Change-Id: I13f071edfce2b66e8fb0ead85403052a09fb0411
| -rw-r--r-- | gnu/packages/hurd.scm | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index 443001fbb7b..5baa1daf279 100644 --- a/gnu/packages/hurd.scm +++ b/gnu/packages/hurd.scm @@ -500,12 +500,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) |
