~ruther/guix-local

08971b6956a663ffdb263f43045e501457648bc1 — Artyom V. Poptsov 5 months ago dc256a2
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
1 files changed, 9 insertions(+), 0 deletions(-)

M gnu/packages/engineering.scm
M gnu/packages/engineering.scm => gnu/packages/engineering.scm +9 -0
@@ 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")))