mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: tracker: Fix build with gcc-14.
* gnu/packages/gnome.scm (tracker)[arguments]: Add phase "relax-gcc-14-strictness" to relax gcc-14's strictness. Change-Id: Id63a3b5ab2c92b0ab09faa1b3e4c50271e1c153b
This commit is contained in:
parent
9055e2e09a
commit
66d301cf68
1 changed files with 8 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
|
||||
;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
|
||||
;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
|
||||
;;; Copyright © 2016, 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2016, 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
|
||||
;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
|
||||
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
|
||||
|
@ -9743,6 +9743,13 @@ (define-public tracker
|
|||
(add-before 'configure 'set-shell
|
||||
(lambda _
|
||||
(setenv "SHELL" (which "bash"))))
|
||||
(add-before 'configure 'relax-gcc-14-strictness
|
||||
(lambda _
|
||||
(setenv "CFLAGS"
|
||||
(string-append
|
||||
"-g -O2"
|
||||
" -Wno-error=implicit-function-declaration"
|
||||
" -Wno-error=incompatible-pointer-types"))))
|
||||
(add-before 'configure 'fix-paths
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
|
||||
|
|
Loading…
Reference in a new issue