mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
db24ad715e
commit
5de4787be9
1 changed files with 2 additions and 1 deletions
|
@ -1943,13 +1943,14 @@ the actual decompression, the other input and output.")
|
||||||
`(#:tests? #f ; no test target
|
`(#:tests? #f ; no test target
|
||||||
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
||||||
(list "-f" "unix/Makefile"
|
(list "-f" "unix/Makefile"
|
||||||
|
"CC=gcc -Wno-error=implicit-function-declaration"
|
||||||
(string-append "prefix=" out)
|
(string-append "prefix=" out)
|
||||||
(string-append "MANDIR=" out "/share/man/man1")))
|
(string-append "MANDIR=" out "/share/man/man1")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
(lambda* (#:key (make-flags '()) #:allow-other-keys)
|
||||||
(apply invoke "make" "generic_gcc" make-flags)))
|
(apply invoke "make" "generic" make-flags)))
|
||||||
(delete 'configure))))
|
(delete 'configure))))
|
||||||
(home-page "http://www.info-zip.org/Zip.html")
|
(home-page "http://www.info-zip.org/Zip.html")
|
||||||
(synopsis "Compression and file packing utility")
|
(synopsis "Compression and file packing utility")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue