mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: directfb: Fix build with gcc-14.
* gnu/packages/graphics.scm (directfb)[arguments]: Add #:configure-flags to relax gcc-14's strictness. Change-Id: I8ce479978513efd0b6ebab7fe1dd3632f66456bf
This commit is contained in:
parent
7e9e1714fa
commit
4b50518723
1 changed files with 5 additions and 3 deletions
|
@ -38,6 +38,7 @@
|
|||
;;; Copyright © 2023 Eric Bavier <bavier@posteo.net>
|
||||
;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
||||
;;; Copyright © 2024 Ivan Vilata-i-Balaguer <ivan@selidor.net>
|
||||
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -200,7 +201,9 @@ (define-public directfb
|
|||
(base32 "0bs3yzb7hy3mgydrj8ycg7pllrd2b6j0gxj596inyr7ihssr3i0y"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
`(#:configure-flags
|
||||
'("CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'remove-buildtime
|
||||
;; Remove embedded build time for reproducible builds
|
||||
|
@ -217,8 +220,7 @@ (define-public directfb
|
|||
(add-after 'unpack 'disable-configure-during-bootstrap
|
||||
(lambda _
|
||||
(substitute* "autogen.sh"
|
||||
(("^.*\\$srcdir/configure.*") ""))
|
||||
#t)))))
|
||||
(("^.*\\$srcdir/configure.*") "")))))))
|
||||
(native-inputs
|
||||
`(("autoconf" ,autoconf)
|
||||
("automake" ,automake)
|
||||
|
|
Loading…
Reference in a new issue