[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/63: gnu: zip: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
07/63: gnu: zip: Fix build with gcc-14. |
Date: |
Thu, 12 Dec 2024 05:29:06 -0500 (EST) |
janneke pushed a commit to branch core-packages-team-old
in repository guix.
commit 285b9ca2a9605414f273546fe4e6eb3944c92a71
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=-Wno-implicit-function-declaration" to #:make-flags. 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..b9c06b7e59 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-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-old created (now 85aa6be5ce), guix-commits, 2024/12/12
- 07/63: gnu: zip: Fix build with gcc-14.,
guix-commits <=
- 03/63: gnu: commencement: gcc-final: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/12
- 04/63: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/12
- 06/63: gnu: libffi: Update to 3.4.6; fixes build with gcc-14., guix-commits, 2024/12/12
- 02/63: gnu: gcc-boot0: Fix building on powerpc64le-linux., guix-commits, 2024/12/12
- 01/63: gnu: commencement: gcc-boot0: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/12
- 14/63: gnu: automake-1.16.5: Skip tests., guix-commits, 2024/12/12
- 19/63: gnu: commencement: static-bash-for-glibc Fix x86-linux build., guix-commits, 2024/12/12
- 10/63: gnu: unzip: Fix build with gcc-14., guix-commits, 2024/12/12
- 13/63: gnu: Re-Add automake-1.16.5., guix-commits, 2024/12/12
- 15/63: gnu: bdb: Use automake-1.16.5., guix-commits, 2024/12/12