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
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-11 16:38:51 +01:00 committed by Andreas Enge
parent 0e75555a0e
commit 6ca03b6409
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -3,6 +3,7 @@
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Thiago Jung Bauermann <bauermann@kolabnow.com>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; 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