[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/75: gnu: zip: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
10/75: gnu: zip: Fix build with gcc-14. |
Date: |
Sun, 15 Dec 2024 18:06:27 -0500 (EST) |
janneke pushed a commit to branch core-packages-team-old
in repository guix.
commit 35120247843afc8337f520c80167253c42d2bcef
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Dec 4 09:28:12 2024 +0100
gnu: zip: Fix build with gcc-14.
* gnu/packages/compression.scm (zip)[arguments]: Add CC to #:make-flags to
relax gcc-14's strictness. In phase "build" use target "generic" rather
than
"generic_gcc".
Change-Id: I21af1acdc550c83e63241811a6586598f187b2ef
---
gnu/packages/compression.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 99ea090091..90badcbbc0 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1922,13 +1922,14 @@ the actual decompression, the other input and output.")
`(#:tests? #f ; no test target
#:make-flags (let ((out (assoc-ref %outputs "out")))
(list "-f" "unix/Makefile"
+ "CC=gcc -Wno-error=implicit-function-declaration"
(string-append "prefix=" out)
(string-append "MANDIR=" out "/share/man/man1")))
#:phases
(modify-phases %standard-phases
(replace 'build
(lambda* (#:key (make-flags '()) #:allow-other-keys)
- (apply invoke "make" "generic_gcc" make-flags)))
+ (apply invoke "make" "generic" make-flags)))
(delete 'configure))))
(home-page "http://www.info-zip.org/Zip.html")
(synopsis "Compression and file packing utility")
- 11/75: gnu: gettext: Fix build with gcc-14., (continued)
- 11/75: gnu: gettext: Fix build with gcc-14., guix-commits, 2024/12/15
- 01/75: Revert "Partial revert "gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit Hurd."", guix-commits, 2024/12/15
- 17/75: gnu: automake-1.16.5: Skip tests., guix-commits, 2024/12/15
- 19/75: gnu: elfutils: Update to 0.192; fixes build with gcc-14., guix-commits, 2024/12/15
- 31/75: gnu: libxaw3d: Update to 1.6.6, fixes build with gcc-14., guix-commits, 2024/12/15
- 16/75: gnu: Re-Add automake-1.16.5., guix-commits, 2024/12/15
- 52/75: gnu: talloc: Update to 2.4.2; fixes build with gcc-14., guix-commits, 2024/12/15
- 35/75: gnu: zziplib: Update to 0.13.78; fixes build with gcc-14., guix-commits, 2024/12/15
- 47/75: gnu: tdb: Update to 1.4.12; fixes build with gcc-14., guix-commits, 2024/12/15
- 74/75: squash! REMOVEME gnu: Add gcc-11-fixed, enhancing `relax-gcc-14s-strictness' stage., guix-commits, 2024/12/15
- 10/75: gnu: zip: Fix build with gcc-14.,
guix-commits <=
- 09/75: gnu: libffi: Update to 3.4.6; fixes build with gcc-14., guix-commits, 2024/12/15
- 27/75: gnu: cmake-bootstrap: Fix build with gcc-14., guix-commits, 2024/12/15
- 28/75: gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14., guix-commits, 2024/12/15
- 30/75: gnu: hplip: Update to 3.24.4 and fix build with gcc-14., guix-commits, 2024/12/15
- 29/75: gnu: llvm-13: Fix build with gcc-14., guix-commits, 2024/12/15
- 45/75: gnu: openldap: Update to 2.6.9; fixes build with gcc-14., guix-commits, 2024/12/15
- 59/75: gnu: libedit: Use -Wno-error= for cross-build., guix-commits, 2024/12/15
- 71/75: DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14., guix-commits, 2024/12/15
- 64/75: gnu: bootstrap: %bootstrap-glibc: Patch more files., guix-commits, 2024/12/15
- 63/75: gnu: git: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/15