From 9fb7b9ef6868d307a0964037be37c358f9358e49 Mon Sep 17 00:00:00 2001 From: Brian Kubisiak Date: Tue, 7 Jan 2025 14:07:16 -0800 Subject: 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 --- gnu/packages/appimage.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages/appimage.scm') 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) -- cgit v1.2.3