[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/74: gnu: localed: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
33/74: gnu: localed: Fix build with gcc-14. |
Date: |
Sun, 15 Dec 2024 18:06:05 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 34bbe6667198d2d2ebe971156fe1de2ffd348437
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Dec 9 11:36:32 2024 +0100
gnu: localed: Fix build with gcc-14.
* gnu/packages/freedesktop.scm (localed)[arguments]: Add c_args to
#:configure-flags
to relax gcc-14's strictness.
Change-Id: I2cb4d9bc7e22ab0bedacbd79b98d33a1b6a27bd0
---
gnu/packages/freedesktop.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 08b5d7e351..72a9349640 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -40,6 +40,7 @@
;;; Copyright © 2024 Dariqq <dariqq@posteo.net>
;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
;;; Copyright © 2024 dan <i@dan.games>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1049,9 +1050,10 @@ This library provides just sd-bus (and the busctl
utility).")
"idn"
"nss-myhostname"
"nss-systemd")))
- `(#:configure-flags ',(map (lambda (component)
- (string-append "-D" component "=false"))
- (delete "localed" components))
+ `(#:configure-flags '("-Dc_args=-g -O2 -Wno-format-overflow"
+ ,@(map (lambda (component)
+ (string-append "-D" component "=false"))
+ (delete "localed" components)))
;; It doesn't make sense to test all of systemd.
#:tests? #f
- 65/74: gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux., (continued)
- 65/74: gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux., guix-commits, 2024/12/15
- 06/74: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/15
- 03/74: Revert "Partial revert "gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd."", guix-commits, 2024/12/15
- 56/74: gnu: flex: Use -Wno-error= for cross-build., guix-commits, 2024/12/15
- 54/74: gnu: tevent: Update to 0.16.1; fixes build with gcc-14., guix-commits, 2024/12/15
- 53/74: gnu: slim: Fix build with gcc-14., guix-commits, 2024/12/15
- 28/74: gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14., guix-commits, 2024/12/15
- 72/74: guix: build-system: cmake: Rework cross compilation., guix-commits, 2024/12/15
- 27/74: gnu: cmake-bootstrap: Fix build with gcc-14., guix-commits, 2024/12/15
- 14/74: gnu: automake: Fix build with gcc-14., guix-commits, 2024/12/15
- 33/74: gnu: localed: Fix build with gcc-14.,
guix-commits <=