guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-packages-team updated: gnu: zip: Fix build with gcc-14.


From: guix-commits
Subject: branch core-packages-team updated: gnu: zip: Fix build with gcc-14.
Date: Wed, 04 Dec 2024 03:30:02 -0500

This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
     new e818a8f63e gnu: zip: Fix build with gcc-14.
e818a8f63e is described below

commit e818a8f63ead1da7d08aa966d9d41f3cb33f6714
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Dec 4 09:28:12 2024 +0100

    gnu: zip: Fix build with gcc-14.
    
    * gnu/packages/bash-minimal.scm (bash)[arguments]: Add
    "CC=-Wno-implicit-function-declaration" to #:make-flags.  In phase "build" 
use
    target "generic" rather than "generic_gcc".
    
    Change-Id: I21af1acdc550c83e63241811a6586598f187b2ef
---
 gnu/packages/compression.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 99ea090091..b9c06b7e59 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1922,13 +1922,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-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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]