janneke pushed a commit to branch core-packages-team in repository guix. commit 2cf8a89f1fe2ce0a6638724e32071d22bc9e66ea Author: Janneke Nieuwenhuizen <jann...@gnu.org> AuthorDate: Wed Jan 1 14:16:43 2025 +0100
gnu: startup-notification: Fix build with gcc-14. * gnu/packages/xdisorg.scm (startup-notification)[arguments]: Add #:configure-flags to relax gcc-14's strictness. Change-Id: Ie20f622414e2482932e027bdf7bf7acf18192a6b --- gnu/packages/xdisorg.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 5fd0685c7c..8351e6f6e5 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -67,6 +67,7 @@ ;;; Copyright © 2024 Spencer Peters <spencerpet...@protonmail.com> ;;; Copyright © 2024 Jakob Kirsch <jakob.kir...@web.de> ;;; Copyright © 2025 Evgeny Pisemsky <m...@pisemsky.site> +;;; Copyright © 2025 Janneke Nieuwenhuizen <jann...@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -984,7 +985,8 @@ tracking.") #:configure-flags #~(list ;; when cross-compilation, skip realloc checking "lf_cv_sane_realloc=yes" - (string-append "PKG_CONFIG=" #$(pkg-config-for-target))) + (string-append "PKG_CONFIG=" + #$(pkg-config-for-target))) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'update-config-scripts @@ -996,7 +998,9 @@ tracking.") (or native-inputs inputs) (string-append "/bin/" file)) ".")) '("config.guess" "config.sub")))))) - '())) + (list + #:configure-flags + #~(list "CFLAGS=-g -O2 -Wno-error=int-conversion")))) (native-inputs (append (if (and (or (target-riscv64?) (target-aarch64?)) (%current-target-system))