diff options
author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-07-14 09:08:02 +0300 |
---|---|---|
committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2025-07-14 09:09:40 +0300 |
commit | 5a8b4804f5cccb54eeafa5b5c7df4a540f75a1d7 (patch) | |
tree | 9f4fbeeeffe083064d209ed048a124c54c1448cd | |
parent | 2da630b02ff7c0bdd36fb43f14c610f06df7c365 (diff) |
gnu: stress: Fix cross-build for 'riscv64-linux-gnu' target.
* gnu/packages/admin.scm (stress): Fix cross-build for 'riscv64-linux-gnu'
target.
[source]<snippet>: Patch "configure.ac" to remove "AC_FUNC_MALLOC" macro.
Change-Id: Ie2dd5a073526339a1573c134bee7c591a521f068
-rw-r--r-- | gnu/packages/admin.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 02a876c982..f33c042b27 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -2884,7 +2884,16 @@ utilization, temperature and power.") version ".orig.tar.gz")) (sha256 (base32 - "1cg0mklfrwfyzwqkzidd0151r8n2jgbiiqz1v0p3w4q62mkmdand")))) + "1cg0mklfrwfyzwqkzidd0151r8n2jgbiiqz1v0p3w4q62mkmdand")) + (modules '((guix build utils))) + (snippet + #~(begin + ;; The build fails with "implicit declaration of function + ;; 'rpl_malloc'; did you mean 'realloc'?" when building + ;; for RISCV64 target if "AC_FUNC_MALLOC" macro is present. + ;; Remove it. + (substitute* "configure.ac" + (("AC_FUNC_MALLOC") "")))))) (build-system gnu-build-system) (native-inputs (list autoconf automake)) |