mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: polkit: Fix build with gcc-14.
* gnu/packages/polkit.scm (polkit)[arguments]: Add phase "relax-gcc-14-strictness". Change-Id: I56f100f416d17a73fe8daae4775251800e713820
This commit is contained in:
parent
449e46088f
commit
21e4263207
1 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
|
||||
;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2025 Josep Bigorra <jjbigorra@gmail.com>
|
||||
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -156,6 +157,10 @@ able to request elevated privileges.")
|
|||
'()))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'configure 'relax-gcc-14-strictness
|
||||
(lambda _
|
||||
(setenv "CFLAGS"
|
||||
"-g -O2 -Wno-error=implicit-function-declaration")))
|
||||
(add-before 'check 'patch-bash
|
||||
(lambda _
|
||||
(substitute* (list "subprojects/mocklibc-1.0/bin/mocklibc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue