janneke pushed a commit to branch core-packages-team
in repository guix.
commit a6a009534d8da4ffe9f6ec46c864a322cdbd366a
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Wed Dec 11 16:38:51 2024 +0100
gnu: pth: Fix build with gcc-14.
* gnu/packages/pth.scm (pth)[arguments]: Add #:configure-flags to relax
gcc-14's strictness.
Change-Id: Ifb215f3ae393a268b15dc0316b34c5bb8607b46f
---
gnu/packages/pth.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/pth.scm b/gnu/packages/pth.scm
index 8efede068c..6211741385 100644
--- a/gnu/packages/pth.scm
+++ b/gnu/packages/pth.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2014 Mark H Weaver <[email protected]>
;;; Copyright © 2017 Efraim Flashner <[email protected]>
;;; Copyright © 2021 Thiago Jung Bauermann <[email protected]>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -40,7 +41,9 @@
"0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj"))))
(build-system gnu-build-system)
(arguments
- '(#:parallel-build? #f
+ '(#:configure-flags
+ '("CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")
+ #:parallel-build? #f
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'update-config-scripts