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

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 08971b6956 gnu: asco: Fix build with gcc-14.
08971b6956 is described below

commit 08971b6956a663ffdb263f43045e501457648bc1
Author: Artyom V. Poptsov <[email protected]>
AuthorDate: Fri Oct 31 20:01:44 2025 +0300

    gnu: asco: Fix build with gcc-14.
    
    * gnu/packages/engineering.scm (asco): Fix build with gcc-14.
    [arguments]<#:phases>: Add "relax-gcc-14-strictness" phase.
    
    Change-Id: I6943dc730013cf22a277ed87de422de52b8aece0
---
 gnu/packages/engineering.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index b446e7893b..fa4a9cd431 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2257,6 +2257,15 @@ and a fallback for environments without libc for Zydis.")
        #:phases
        (modify-phases %standard-phases
          (delete 'configure)
+         (add-before 'build 'relax-gcc-14-strictness
+           (lambda _
+             (substitute* (find-files "." "Makefile")
+               (("CFLAGS = (.*)$" all options)
+                (string-append "CFLAGS = "
+                               " -Wno-error=incompatible-pointer-types"
+                               " -Wno-error=implicit-function-declaration"
+                               " "
+                               options)))))
          (add-before 'build 'fix-paths
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((coreutils (assoc-ref inputs "coreutils-minimal")))

Reply via email to