diff options
-rw-r--r-- | gnu/packages/openldap.scm | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm index 8d3c94e8ae..0653bc6992 100644 --- a/gnu/packages/openldap.scm +++ b/gnu/packages/openldap.scm @@ -244,15 +244,19 @@ servers from Python programs.") ,@%default-gnu-imported-modules) #:disallowed-references (list httpd) #:configure-flags - #~(list "--enable-cmocka" - (string-append "--with-db=" - #$(this-package-input "bdb")) - (string-append "--with-netsnmp=" - #$(this-package-input "net-snmp")) - (string-append "--with-selinux=" - #$(this-package-input "libselinux")) - "--localstatedir=/var" - "--with-instconfigdir=/etc/dirsrv") + #~(list + ;; Relax gcc-14's strictness. + (string-append "CFLAGS=-g -O2" + " -Wno-error=incompatible-pointer-types") + "--enable-cmocka" + (string-append "--with-db=" + #$(this-package-input "bdb")) + (string-append "--with-netsnmp=" + #$(this-package-input "net-snmp")) + (string-append "--with-selinux=" + #$(this-package-input "libselinux")) + "--localstatedir=/var" + "--with-instconfigdir=/etc/dirsrv") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'fix-references |