diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-12-04 09:28:12 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:11 +0200 |
| commit | 5de4787be9f25f4bfa750e3229de7465056702eb (patch) | |
| tree | 573c5debfa8110a5551d4fea0d448596ede9cfd1 /gnu/packages | |
| parent | db24ad715ef05e5d534662d8c0156e767f191687 (diff) | |
gnu: zip: Fix build with gcc-14.
* gnu/packages/compression.scm (zip)[arguments]: Add CC to #:make-flags to
relax gcc-14's strictness. In phase "build" use target "generic" rather than
"generic_gcc".
Change-Id: I21af1acdc550c83e63241811a6586598f187b2ef
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/compression.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 65e545db002..b4c492da5c1 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -1943,13 +1943,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-error=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") |
