[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/249: gnu: zip: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
10/249: gnu: zip: Fix build with gcc-14. |
Date: |
Mon, 6 Jan 2025 07:51:14 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 256c8ffe50fcc1f810ead649ea01cdebb7779b6b
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 dec25452a3..bd8a032677 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")
- branch core-packages-team created (now 534a2138d9), guix-commits, 2025/01/06
- 13/249: gnu: unzip: Fix build with gcc-14., guix-commits, 2025/01/06
- 07/249: gnu: commencement: gcc-final: Fix build for x86-linux with gcc-14., guix-commits, 2025/01/06
- 06/249: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2025/01/06
- 17/249: gnu: automake-1.16.5: Skip tests., guix-commits, 2025/01/06
- 20/249: gnu: libstdc++: Fix build for linux with gcc-14., guix-commits, 2025/01/06
- 12/249: gnu: gettext: Update to 0.23., guix-commits, 2025/01/06
- 22/249: gnu: expect: Fix build with gcc-14., guix-commits, 2025/01/06
- 10/249: gnu: zip: Fix build with gcc-14.,
guix-commits <=
- 11/249: gnu: gettext: Fix build with gcc-14., guix-commits, 2025/01/06
- 44/249: gnu: ntp: Fix build with gcc-14., guix-commits, 2025/01/06
- 30/249: gnu: hplip: Update to 3.24.4 and fix build with gcc-14., guix-commits, 2025/01/06
- 36/249: gnu: texlive-xdvi-bin: Fix build with gcc-14., guix-commits, 2025/01/06
- 41/249: gnu: bdb-4.8: Fix build with gcc-14., guix-commits, 2025/01/06
- 57/249: gnu: hurd: Use -Wno-error=., guix-commits, 2025/01/06
- 53/249: gnu: slim: Fix build with gcc-14., guix-commits, 2025/01/06
- 60/249: gnu: m4: Use -Wno-error= for Hurd cross-build., guix-commits, 2025/01/06
- 55/249: gnu: ldb: Update to 2.9.2; fixes build with gcc-14., guix-commits, 2025/01/06
- 56/249: gnu: flex: Use -Wno-error= for cross-build., guix-commits, 2025/01/06