gnu: openldap-for-linphone: Fix build with gcc-14.

* gnu/packages/openldap.scm (openldap-for-linphone)[arguments]: New field to
relax gcc-14's strictness.

Change-Id: I9541b579df38d8a6a4461a87275399fd623a1f01
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-02 13:38:34 +01:00
parent a9621e7e8d
commit c283d28337
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -10,7 +10,7 @@
;;; Copyright © 2021, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2023 Brian Cully <bjc@spork.org>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -132,7 +132,15 @@ (define-public openldap-for-linphone
(file-name (git-file-name name version))
(sha256
(base32
"1yd3cnngr5z3nymnml8fynspxgdzap7y7glp601nbkdj67wyg0k8")))))))
"1yd3cnngr5z3nymnml8fynspxgdzap7y7glp601nbkdj67wyg0k8"))))
(arguments
(substitute-keyword-arguments (package-arguments openldap)
((#:configure-flags flags)
#~(append
(list #$(string-append "CFLAGS=-g -O2"
" -Wno-error=implicit-int"
" -Wno-error=int-conversion"))
#$flags)))))))
(define-public nss-pam-ldapd
(package