janneke pushed a commit to branch core-packages-team
in repository guix.
commit a95aee4a53599c744bd5856c132ee5edf4543219
Author: Janneke Nieuwenhuizen <[email protected]>
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 3690f75e5e..1906f8b0e6 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -68,6 +68,7 @@
;;; Copyright © 2024 Spencer Peters <[email protected]>
;;; Copyright © 2024 Jakob Kirsch <[email protected]>
;;; Copyright © 2025 Evgeny Pisemsky <[email protected]>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -985,7 +986,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
@@ -997,7 +999,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))