[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/74: gnu: unzip: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
13/74: gnu: unzip: Fix build with gcc-14. |
Date: |
Wed, 18 Dec 2024 08:06:53 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit dee5db2dfc4f403bbf1836de05713f106772e2ac
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 to #:make-flags to
relax gcc-14's strictness. 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 460af2c0fa..fcaa4c8d41 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-error=implicit-function-declaration"
(string-append "prefix=" #$output)
(string-append "MANDIR=" #$output "/share/man/man1"))
#~(list "-f" "unix/Makefile"
+ "CC=gcc -Wno-error=implicit-function-declaration"
(string-append "prefix=" %output)
(string-append "MANDIR=" %output "/share/man/man1")))))
(home-page "http://www.info-zip.org/UnZip.html")
- branch core-packages-team created (now 62fc13d17f), guix-commits, 2024/12/18
- 02/74: Revert "Partial revert "gnu: bootstrap: %bootstrap-glibc: Also fix libm.so."", guix-commits, 2024/12/18
- 01/74: Revert "Partial revert "gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit Hurd."", guix-commits, 2024/12/18
- 03/74: Revert "Partial revert "gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd."", guix-commits, 2024/12/18
- 12/74: gnu: gettext: Update to 0.23., guix-commits, 2024/12/18
- 11/74: gnu: gettext: Fix build with gcc-14., guix-commits, 2024/12/18
- 09/74: gnu: libffi: Update to 3.4.6; fixes build with gcc-14., guix-commits, 2024/12/18
- 13/74: gnu: unzip: Fix build with gcc-14.,
guix-commits <=
- 23/74: gnu: guile-lzlib: Fix build with gcc-14., guix-commits, 2024/12/18
- 30/74: gnu: hplip: Update to 3.24.4 and fix build with gcc-14., guix-commits, 2024/12/18
- 22/74: gnu: expect: Fix build with gcc-14., guix-commits, 2024/12/18
- 33/74: gnu: localed: Fix build with gcc-14., guix-commits, 2024/12/18
- 32/74: gnu: serf: Update to 1.3.10 and fix build with gcc-14., guix-commits, 2024/12/18
- 40/74: gnu: jack-1: Fix build with gcc-14., guix-commits, 2024/12/18
- 37/74: gnu: fontforge: Update to 20230101 and fix build with gettext-0.23., guix-commits, 2024/12/18
- 43/74: gnu: gn: Fix build with gcc-14., guix-commits, 2024/12/18
- 06/74: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/18
- 25/74: gnu: python-lxml: Update to 5.2.2; fixes build with gcc-14., guix-commits, 2024/12/18