diff options
| author | Anderson Torres <anderson.torres.8519@gmail.com> | 2025-12-02 17:26:03 -0300 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-12-02 21:53:56 +0100 |
| commit | 41357c7d1c5485276a746f8ab24ff706ffe87a4e (patch) | |
| tree | 35bcd6053d984b30cb45dc67e89323f3523df9f5 /gnu | |
| parent | a85a0828cc40f9e5a9d0a605b827535701f7b986 (diff) | |
gnu: alpine: Fix build with gcc-14.
* gnu/packages/mail.scm (alpine)[arguments]<#:configure-flags>: Add CFLAGS.
Fixes: guix/guix#4585
Change-Id: I8229b699d4ae15548f61586d2ee7d1c1b1602c7b
Co-authord-by: Andreas Enge <andreas@enge.fr>
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/mail.scm | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 82bb0b201b8..2678363c5e1 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -4033,20 +4033,22 @@ operators and scripters.") `(#:make-flags (list (string-append "CC=" ,(cc-for-target))) #:parallel-build? #f ;fails otherwise - #:configure-flags (list (string-append "--with-ssl-include-dir=" - (assoc-ref %build-inputs "openssl") - "/include/openssl") - (string-append "--with-ssl-dir=" - (assoc-ref %build-inputs "openssl")) - (string-append "--with-ssl-certs-dir=" - "/etc/ssl/certs/") - (string-append "--with-ssl-lib-dir=" - (assoc-ref %build-inputs "openssl") - "/lib") - (string-append "--with-interactive-spellcheck=" - (assoc-ref %build-inputs "aspell") - "/bin/aspell") - "--with-date-stamp=Thu 1 Jan 01:00:01 CET 1970") + #:configure-flags + (list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-type" + (string-append "--with-ssl-include-dir=" + (assoc-ref %build-inputs "openssl") + "/include/openssl") + (string-append "--with-ssl-dir=" + (assoc-ref %build-inputs "openssl")) + (string-append "--with-ssl-certs-dir=" + "/etc/ssl/certs/") + (string-append "--with-ssl-lib-dir=" + (assoc-ref %build-inputs "openssl") + "/lib") + (string-append "--with-interactive-spellcheck=" + (assoc-ref %build-inputs "aspell") + "/bin/aspell") + "--with-date-stamp=Thu 1 Jan 01:00:01 CET 1970") #:phases (modify-phases %standard-phases (add-after 'unpack 'assume-shadow-passwords |
