mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
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
This commit is contained in:
parent
9f2b7aca1d
commit
a5188550a3
1 changed files with 6 additions and 2 deletions
|
@ -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 @@ (define-public startup-notification
|
|||
#: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 @@ (define-public startup-notification
|
|||
(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))
|
||||
|
|
Loading…
Reference in a new issue