summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2025-10-31 20:01:44 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2025-10-31 20:01:44 +0300
commit08971b6956a663ffdb263f43045e501457648bc1 (patch)
treec8978c71725b8239de565d80193c38ddc709e4a1 /gnu/packages
parentdc256a2d681d16627a4781e33d1fb4f2d9451eb6 (diff)
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
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/engineering.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index b446e7893bc..fa4a9cd431b 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")))