diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-10-31 20:01:44 +0300 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-10-31 20:01:44 +0300 |
| commit | 08971b6956a663ffdb263f43045e501457648bc1 (patch) | |
| tree | c8978c71725b8239de565d80193c38ddc709e4a1 | |
| parent | dc256a2d681d16627a4781e33d1fb4f2d9451eb6 (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
| -rw-r--r-- | gnu/packages/engineering.scm | 9 |
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.") | |||
| 2257 | #:phases | 2257 | #:phases |
| 2258 | (modify-phases %standard-phases | 2258 | (modify-phases %standard-phases |
| 2259 | (delete 'configure) | 2259 | (delete 'configure) |
| 2260 | (add-before 'build 'relax-gcc-14-strictness | ||
| 2261 | (lambda _ | ||
| 2262 | (substitute* (find-files "." "Makefile") | ||
| 2263 | (("CFLAGS = (.*)$" all options) | ||
| 2264 | (string-append "CFLAGS = " | ||
| 2265 | " -Wno-error=incompatible-pointer-types" | ||
| 2266 | " -Wno-error=implicit-function-declaration" | ||
| 2267 | " " | ||
| 2268 | options))))) | ||
| 2260 | (add-before 'build 'fix-paths | 2269 | (add-before 'build 'fix-paths |
| 2261 | (lambda* (#:key inputs #:allow-other-keys) | 2270 | (lambda* (#:key inputs #:allow-other-keys) |
| 2262 | (let ((coreutils (assoc-ref inputs "coreutils-minimal"))) | 2271 | (let ((coreutils (assoc-ref inputs "coreutils-minimal"))) |
