z572 pushed a commit to branch master
in repository guix.
commit 9fb7b9ef6868d307a0964037be37c358f9358e49
Author: Brian Kubisiak <[email protected]>
AuthorDate: Tue Jan 7 14:07:16 2025 -0800
gnu: appimage-type2-runtime: Fix cross-compiling.
* gnu/packages/appimage.scm
(appimage-type2-runtime)[arguments]<#:make-flags>: Use
CC-FOR-TARGET and add "-Wno-int-conversion".
Change-Id: I5dd9c6cb81e30713f17d474e9a5e11817db7158e
Signed-off-by: Zheng Junjie <[email protected]>
---
gnu/packages/appimage.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/appimage.scm b/gnu/packages/appimage.scm
index 1d0caada46..620628c053 100644
--- a/gnu/packages/appimage.scm
+++ b/gnu/packages/appimage.scm
@@ -49,11 +49,13 @@
(list
#:make-flags
#~(list "-Csrc/runtime" "runtime-fuse3"
+ (string-append "CC=" #$(cc-for-target))
(string-append
"CFLAGS=" "-I" #$(this-package-input "fuse") "/include/fuse/"
" -DGIT_COMMIT='\"" "guix-" #$version "\"'"
" -D_FILE_OFFSET_BITS=64"
- " -static"))
+ " -static"
+ " -Wno-int-conversion"))
#:modules
`((guix build gnu-build-system)
(guix build utils)