diff options
author | Brian Kubisiak <brian@kubisiak.com> | 2025-01-07 14:07:16 -0800 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2025-01-11 21:10:03 +0800 |
commit | 9fb7b9ef6868d307a0964037be37c358f9358e49 (patch) | |
tree | 024c5c20aa128faa0ede6d1a71932be66ba31ac1 /gnu/packages | |
parent | b7dbb5f591d2879ccd1b1268ad9ad8e7768fa822 (diff) |
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 <zhengjunjie@iscas.ac.cn>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/appimage.scm | 4 |
1 files changed, 3 insertions, 1 deletions
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) |