diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2025-01-01 10:58:49 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:18 +0200 |
| commit | 87b95c3e0357a528bedc7d95270fab28fa182301 (patch) | |
| tree | b4170a9ac8522c6221b60cac30450cd187f887eb | |
| parent | f871867e8576d09f9cae5723c204d614443c0d7b (diff) | |
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
| -rw-r--r-- | gnu/packages/gnome.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index b1e33db94b7..78aa76066d4 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -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> @@ -9837,6 +9837,13 @@ easy, safe, and automatic.") (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") |
