[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
75/296: gnu: emacs: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
75/296: gnu: emacs: Fix build with gcc-14. |
Date: |
Tue, 6 May 2025 10:48:23 -0400 (EDT) |
andreas pushed a commit to branch core-packages-team
in repository guix.
commit 3f5406b30f86ef34fee54e1e0ae8b40dd0e32f79
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Dec 30 19:14:06 2024 +0100
gnu: emacs: Fix build with gcc-14.
* gnu/packages/emacs.scm (emacs-minimal)[arguments]: Add CFLAGS to
#:configure-flags
to relax gcc-14's strictness.
Change-Id: I782c112c28841bf2b3b277cfda05bf2a1871b8a1
---
gnu/packages/emacs.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index fb72b27544..b543d8405c 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -155,7 +155,12 @@
(list
#:tests? #f ; no check target
#:modules (%emacs-modules build-system)
- #:configure-flags #~(list "--with-gnutls=no" "--disable-build-details")
+ #:configure-flags #~(list
+ #$(string-append
+ "CFLAGS=-g -O2"
+ " -Wno-error=incompatible-pointer-types")
+ "--with-gnutls=no"
+ "--disable-build-details")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'enable-elogind
- 11/296: gnu: gettext: Fix build with gcc-14., (continued)
- 11/296: gnu: gettext: Fix build with gcc-14., guix-commits, 2025/05/06
- 30/296: gnu: serf: Update to 1.3.10 and fix build with gcc-14., guix-commits, 2025/05/06
- 44/296: gnu: pth: Fix build with gcc-14., guix-commits, 2025/05/06
- 45/296: gnu: tdb: Update to 1.4.12; fixes build with gcc-14., guix-commits, 2025/05/06
- 52/296: gnu: ldb: Update to 2.9.2; fixes build with gcc-14., guix-commits, 2025/05/06
- 56/296: gnu: libedit: Use -Wno-error= for cross-build., guix-commits, 2025/05/06
- 55/296: gnu: netdde: Use -Wno-error=., guix-commits, 2025/05/06
- 58/296: gnu: libssh: Use -Wno-error= for Hurd cross-build., guix-commits, 2025/05/06
- 71/296: gnu: vala-0.52: Fix build with gcc-14., guix-commits, 2025/05/06
- 74/296: gnu: gdl-minimal: Fix build with gcc-14., guix-commits, 2025/05/06
- 75/296: gnu: emacs: Fix build with gcc-14.,
guix-commits <=
- 80/296: gnu: gavl: Fix build by using gcc-13., guix-commits, 2025/05/06
- 94/296: gnu: raptor2: Update to 2.0.16; fixes build with gcc-14., guix-commits, 2025/05/06
- 100/296: gnu: transcode: Fix build with gcc-14., guix-commits, 2025/05/06
- 103/296: gnu: glibc-2.35: Fix build with gcc-14., guix-commits, 2025/05/06
- 114/296: gnu: openexr-2: Fix build with gcc-14., guix-commits, 2025/05/06
- 131/296: gnu: zxing-cpp: Fix build with gcc-14., guix-commits, 2025/05/06
- 03/296: Revert "Partial revert "gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd."", guix-commits, 2025/05/06
- 01/296: Revert "Partial revert "gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit Hurd."", guix-commits, 2025/05/06
- 13/296: gnu: unzip: Fix build with gcc-14., guix-commits, 2025/05/06
- 70/296: gnu: gtk+-2: Fix build with gcc-14., guix-commits, 2025/05/06