[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/70: gnu: localed: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
33/70: gnu: localed: Fix build with gcc-14. |
Date: |
Sat, 14 Dec 2024 06:00:03 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit d0ee1b96fbb3ed3089041b66058f94f566ff9e23
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
- 56/70: gnu: flex: Use -Wno-error= for cross-build., (continued)
- 56/70: gnu: flex: Use -Wno-error= for cross-build., guix-commits, 2024/12/14
- 66/70: gnu: gcc-4.7: Add gcc-wrapper from gcc-final., guix-commits, 2024/12/14
- 17/70: gnu: automake-1.16.5: Skip tests., guix-commits, 2024/12/14
- 19/70: gnu: elfutils: Update to 0.192; fixes build with gcc-14., guix-commits, 2024/12/14
- 23/70: gnu: guile-lzlib: Fix build with gcc-14., guix-commits, 2024/12/14
- 59/70: gnu: libedit: Use -Wno-error= for cross-build., guix-commits, 2024/12/14
- 48/70: gnu: Add cryptsetup-minimal., guix-commits, 2024/12/14
- 70/70: DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14., guix-commits, 2024/12/14
- 62/70: gnu: texinfo-4: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/14
- 28/70: gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14., guix-commits, 2024/12/14
- 33/70: gnu: localed: Fix build with gcc-14.,
guix-commits <=
- 21/70: gnu: torsocks: Fix build with gcc-14., guix-commits, 2024/12/14
- 53/70: gnu: slim: Fix build with gcc-14., guix-commits, 2024/12/14
- 43/70: gnu: gn: Fix build with gcc-14., guix-commits, 2024/12/14
- 63/70: gnu: git: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/14
- 69/70: gnu: ath9k-firmware: Remove CMAKE_SYSTEM_NAME override., guix-commits, 2024/12/14
- 49/70: gnu: Use cryptsetup-minimal instead of cryptsetup., guix-commits, 2024/12/14
- 15/70: gnu: automake: Update to 1.17; fixes build with gcc-14., guix-commits, 2024/12/14
- 18/70: gnu: bdb: Use automake-1.16.5., guix-commits, 2024/12/14
- 37/70: gnu: fontforge: Update to 20230101 and fix build with gettext-0.23., guix-commits, 2024/12/14
- 58/70: gnu: netdde: Use -Wno-error=., guix-commits, 2024/12/14