From 08971b6956a663ffdb263f43045e501457648bc1 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Fri, 31 Oct 2025 20:01:44 +0300 Subject: [PATCH] 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 b446e7893bcc88dbaa7f86e3aa5376cdadececb0..fa4a9cd431ba5e33cccdf8a2149706204b581414 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")))