janneke pushed a commit to branch core-packages-team
in repository guix.
commit 61a84d86ce64f97fec3b5ec1d1105a32c19f89c8
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Fri Jan 3 12:04:54 2025 +0100
gnu: 389-ds-base: Fix build with gcc-14.
* gnu/packages/openldap.scm (389-ds-base)[arguments]: Add CFLAGS to
#:configure-flags
to relax gcc-14's strictness.
Change-Id: I54510c0d0d0f9032f4f5043053b0282e0a4ffb9e
---
gnu/packages/openldap.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index 6d4de8869c..d4a725d508 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -253,7 +253,9 @@ servers from Python programs.")
,@%default-gnu-imported-modules)
#:disallowed-references (list httpd)
#:configure-flags
- #~(list "--enable-cmocka"
+ #~(list (string-append "CFLAGS=-g -O2"
+ " -Wno-error=incompatible-pointer-types")
+ "--enable-cmocka"
(string-append "--with-db="
#$(this-package-input "bdb"))
(string-append "--with-netsnmp="