[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/14: gnu: unzip: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
13/14: gnu: unzip: Fix build with gcc-14. |
Date: |
Thu, 5 Dec 2024 04:27:04 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 62111eeeb145429fd286c16a91c2701cc3f7bf6a
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")
- 01/14: gnu: commencement: gcc-boot0: Build fix for x86_64-linux with gcc-14., (continued)
- 01/14: gnu: commencement: gcc-boot0: Build fix for x86_64-linux with gcc-14., guix-commits, 2024/12/05
- 02/14: gnu: commencement: gcc-final: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/05
- 06/14: REMOVEME gnu: commencement: bash-mesboot: Avoid rebuild., guix-commits, 2024/12/05
- 05/14: DRAFT gnu: gcc: Update gcc, gcc-toolchain to 14., guix-commits, 2024/12/05
- 10/14: REMOVEME gnu: Add libffi-previous for guile to prevent rebuild at this time., guix-commits, 2024/12/05
- 11/14: gnu: gettext-minimal: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/05
- 03/14: gnu: bash-minimal: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/05
- 08/14: gnu: zip: Fix build with gcc-14., guix-commits, 2024/12/05
- 04/14: gnu: libffi: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/05
- 12/14: gnu: gettext[-minimal]: Update to 0.23., guix-commits, 2024/12/05
- 13/14: gnu: unzip: Fix build with gcc-14.,
guix-commits <=
- 07/14: REMOVEME gnu: commencement: static-bash-for-glibc: Avoid rebuild., guix-commits, 2024/12/05
- 09/14: gnu: libffi: Update to 3.4.6., guix-commits, 2024/12/05
- 14/14: squash! gnu: zip: Fix build with gcc-14. -- fixup commit message, guix-commits, 2024/12/05