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
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-03 12:04:54 +01:00
parent caf191129e
commit 5915616ffb
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -254,7 +254,9 @@ (define-public 389-ds-base
,@%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="