[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/71: gnu: localed: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
33/71: gnu: localed: Fix build with gcc-14. |
Date: |
Sun, 15 Dec 2024 03:42:54 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 3d9e52f304d044fbb4167c653f87324134d864cb
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
- 14/71: gnu: automake: Fix build with gcc-14., (continued)
- 14/71: gnu: automake: Fix build with gcc-14., guix-commits, 2024/12/15
- 12/71: gnu: gettext: Update to 0.23., guix-commits, 2024/12/15
- 09/71: gnu: libffi: Update to 3.4.6; fixes build with gcc-14., guix-commits, 2024/12/15
- 17/71: gnu: automake-1.16.5: Skip tests., guix-commits, 2024/12/15
- 18/71: gnu: bdb: Use automake-1.16.5., guix-commits, 2024/12/15
- 20/71: gnu: libstdc++: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/15
- 22/71: gnu: expect: Fix build with gcc-14., guix-commits, 2024/12/15
- 24/71: gnu: go-1.21.5: Skip test failing with gcc-14., guix-commits, 2024/12/15
- 28/71: gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14., guix-commits, 2024/12/15
- 30/71: gnu: hplip: Update to 3.24.4 and fix build with gcc-14., guix-commits, 2024/12/15
- 33/71: gnu: localed: Fix build with gcc-14.,
guix-commits <=
- 32/71: gnu: serf: Update to 1.3.10 and fix build with gcc-14., guix-commits, 2024/12/15
- 35/71: gnu: zziplib: Update to 0.13.78; fixes build with gcc-14., guix-commits, 2024/12/15
- 39/71: gnu: cyrus-sasl: Fix build mwith gcc-14., guix-commits, 2024/12/15
- 43/71: gnu: gn: Fix build with gcc-14., guix-commits, 2024/12/15
- 38/71: gnu: epson-inkjet-printer-escpr: Fix build with gcc-14., guix-commits, 2024/12/15
- 65/71: gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux., guix-commits, 2024/12/15
- 34/71: gnu: gcc-boot0: Fix building for aarch64-linux., guix-commits, 2024/12/15
- 47/71: gnu: tdb: Update to 1.4.12; fixes build with gcc-14., guix-commits, 2024/12/15
- 45/71: gnu: openldap: Update to 2.6.9; fixes build with gcc-14., guix-commits, 2024/12/15
- 50/71: gnu: openblas: Update to 0.3.28; fixes build with gcc-14., guix-commits, 2024/12/15