[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: |
Sun, 15 Dec 2024 10:03:16 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 2002c150b6dc64ac3e3a129c04e3187d66e73b6e
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 90badcbbc0..26ea333f89 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")
- 60/74: gnu: m4: Use -Wno-error= for Hurd cross-build., (continued)
- 60/74: gnu: m4: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/15
- 63/74: gnu: git: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/15
- 65/74: gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux., guix-commits, 2024/12/15
- 40/74: gnu: jack-1: Fix build with gcc-14., guix-commits, 2024/12/15
- 72/74: squash! gnu: python-numpy: Update to 1.26.4 and fix build with gcc-14., guix-commits, 2024/12/15
- 48/74: gnu: Add cryptsetup-minimal., guix-commits, 2024/12/15
- 50/74: gnu: openblas: Update to 0.3.28; fixes build with gcc-14., guix-commits, 2024/12/15
- 53/74: gnu: slim: Fix build with gcc-14., guix-commits, 2024/12/15
- 04/74: gnu: commencement: gcc-boot0: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/15
- 14/74: gnu: automake: Fix build with gcc-14., guix-commits, 2024/12/15
- 13/74: gnu: unzip: Fix build with gcc-14.,
guix-commits <=
- 12/74: gnu: gettext: Update to 0.23., guix-commits, 2024/12/15
- 08/74: gnu: libffi: Fix build for x86_64-linux with gcc-14., guix-commits, 2024/12/15
- 23/74: gnu: guile-lzlib: Fix build with gcc-14., guix-commits, 2024/12/15
- 30/74: gnu: hplip: Update to 3.24.4 and fix build with gcc-14., guix-commits, 2024/12/15
- 33/74: gnu: localed: Fix build with gcc-14., guix-commits, 2024/12/15
- 47/74: gnu: tdb: Update to 1.4.12; fixes build with gcc-14., guix-commits, 2024/12/15
- 44/74: gnu: ntp: Fix build with gcc-14., guix-commits, 2024/12/15
- 55/74: gnu: ldb: Update to 2.9.2; fixes build with gcc-14., guix-commits, 2024/12/15
- 57/74: gnu: hurd: Use -Wno-error=., guix-commits, 2024/12/15
- 56/74: gnu: flex: Use -Wno-error= for cross-build., guix-commits, 2024/12/15