guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

120/216: gnu: startup-notification: Fix build with gcc-14.


From: guix-commits
Subject: 120/216: gnu: startup-notification: Fix build with gcc-14.
Date: Sat, 4 Jan 2025 07:27:27 -0500 (EST)

janneke pushed a commit to branch core-packages-team
in repository guix.

commit ed6848c75306eb8e5de435c463045438f9d20c6f
Author: Janneke Nieuwenhuizen <janneke@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 9a9a416def..e041e6927c 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -65,6 +65,7 @@
 ;;; Copyright © 2024 Igor Goryachev <igor@goryachev.org>
 ;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
 ;;; Copyright © 2024 Spencer Peters <spencerpeters@protonmail.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -957,7 +958,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
@@ -969,7 +971,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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]