mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +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
788c5dcd02
commit
684cc77e6c
1 changed files with 8 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
|
;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
|
||||||
;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
|
;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
|
||||||
;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.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 Roel Janssen <roel@gnu.org>
|
||||||
;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
|
;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
|
||||||
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
|
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
|
||||||
|
@ -9745,6 +9745,13 @@ (define-public tracker
|
||||||
(add-before 'configure 'set-shell
|
(add-before 'configure 'set-shell
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "SHELL" (which "bash"))))
|
(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
|
(add-before 'configure 'fix-paths
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
|
(let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
|
||||||
|
|
Loading…
Reference in a new issue