janneke pushed a commit to branch core-packages-team
in repository guix.
commit 3ea12f943744a7278dce40b3fb768d2eb6200785
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Tue Dec 31 09:31:57 2024 +0100
gnu: aalib: Fix build with gcc-14.
* gnu/packages/video.scm (aalib)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.
Change-Id: I609eea29875fc3eaf0dcfbd8b860e9d6f7f461a7
---
gnu/packages/video.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 9ad8262b98..76d3e80433 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -12,7 +12,7 @@
;;; Copyright © 2016 Dmitry Nikolaev <[email protected]>
;;; Copyright © 2016, 2017 Nikita <[email protected]>
;;; Copyright © 2016, 2018, 2019, 2020, 2021 Eric Bavier <[email protected]>
-;;; Copyright © 2016 Jan Nieuwenhuizen <[email protected]>
+;;; Copyright © 2016, 2024 Janneke Nieuwenhuizen <[email protected]>
;;; Copyright © 2017 Feng Shu <[email protected]>
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <[email protected]>
;;; Copyright © 2017 Chris Marusich <[email protected]>
@@ -825,7 +825,11 @@ stream decoding")
(arguments
(list
#:configure-flags
- #~(list "--disable-static"
+ #~(list #$(string-append
+ "CFLAGS=-g -O2"
+ " -Wno-error=implicit-function-declaration"
+ " -Wno-error=return-mismatch")
+ "--disable-static"
(string-append "--with-ncurses="
#$(this-package-input "ncurses")))
#:phases