[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/18: gnu: unzip: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
09/18: gnu: unzip: Fix build with gcc-14. |
Date: |
Thu, 5 Dec 2024 14:45:40 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit d2aa30905aebfa438432c7b81a80195959f26914
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Dec 4 09:28:12 2024 +0100
gnu: unzip: Fix build with gcc-14.
* gnu/packages/compression.scm (unzip)[arguments]: Add
"CC=-Wno-implicit-function-declaration" to #:make-flags. In phase "build"
use
target "generic" rather than "generic_gcc".
Change-Id: I9b4753529b15b5766d7764553bf1fb234c437d45
---
gnu/packages/compression.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index b9c06b7e59..f13c620770 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -2019,15 +2019,17 @@ Compression ratios of 2:1 to 3:1 are common for text
files.")
`("-j" ,(number->string
(parallel-job-count))
,@make-flags
- "generic_gcc")))))
+ "generic")))))
#:make-flags
;; Fix cross-compilation without affecting native builds, as doing
so
;; would trigger too many rebuilds:
https://issues.guix.gnu.org/57127
(if (%current-target-system)
#~(list "-f" "unix/Makefile"
+ "CC=gcc -Wno-implicit-function-declaration"
(string-append "prefix=" #$output)
(string-append "MANDIR=" #$output "/share/man/man1"))
#~(list "-f" "unix/Makefile"
+ "CC=gcc -Wno-implicit-function-declaration"
(string-append "prefix=" %output)
(string-append "MANDIR=" %output "/share/man/man1")))))
(home-page "http://www.info-zip.org/UnZip.html";)
- 18/18: DRAFT gnu: gcc: Update gcc, gcc-toolchain to 14., (continued)
- 18/18: DRAFT gnu: gcc: Update gcc, gcc-toolchain to 14., guix-commits, 2024/12/05
- 13/18: gnu: automake-1.16.5: Skip tests., guix-commits, 2024/12/05
- 10/18: gnu: automake: Fix build with gcc-14., guix-commits, 2024/12/05
- 12/18: gnu: Re-Add automake-1.16.5., guix-commits, 2024/12/05
- 16/18: gnu: libstdc++: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/05
- 14/18: gnu: bdb: Use automake-1.16.5., guix-commits, 2024/12/05
- 11/18: gnu: automake: Update to 1.17., guix-commits, 2024/12/05
- 08/18: gnu: gettext: Update to 0.23., guix-commits, 2024/12/05
- 17/18: gnu: torsocks: Fix build with gcc-14., guix-commits, 2024/12/05
- 15/18: gnu: elfutils: Update to 0.192., guix-commits, 2024/12/05
- 09/18: gnu: unzip: Fix build with gcc-14.,
guix-commits <=
- 06/18: gnu: zip: Fix build with gcc-14., guix-commits, 2024/12/05
- 05/18: gnu: libffi: Update to 3.4.6., guix-commits, 2024/12/05