janneke pushed a commit to branch core-packages-team
in repository guix.

commit 00259c85bfce11a3f2c794b6782ea3bb3d7c7eb3
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Wed Dec 11 12:26:14 2024 +0100

    gnu: cyrus-sasl: Fix build mwith gcc-14.
    
    * gnu/packages/cyrus-sasl.scm (cyrus-sasl)[arguments]: Add CFLAGS to 
#:configure-flags
    to relax gcc-14's strictness.
    
    Change-Id: Ib6afe50a3913ed38aad3eb673786b424307fc4a7
---
 gnu/packages/cyrus-sasl.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cyrus-sasl.scm b/gnu/packages/cyrus-sasl.scm
index ef408f2dd7..60db9deacd 100644
--- a/gnu/packages/cyrus-sasl.scm
+++ b/gnu/packages/cyrus-sasl.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2016 Leo Famulari <[email protected]>
 ;;; Copyright © 2019 Mathieu Othacehe <[email protected]>
 ;;; Copyright © 2022 Marius Bakke <[email protected]>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -49,7 +50,10 @@
     (inputs (list gdbm libxcrypt mit-krb5 openssl))
     (arguments
      (list
-      #:configure-flags #~(list (string-append "--with-plugindir="
+      #:configure-flags #~(list (string-append
+                                 "CFLAGS=-g -O2"
+                                 " -Wno-error=implicit-function-declaration")
+                                (string-append "--with-plugindir="
                                                (assoc-ref %outputs "out")
                                                "/lib/sasl2")
                                 ;; When cross-compiling the build system is

Reply via email to