mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01:00
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>
This commit is contained in:
parent
b7dbb5f591
commit
9fb7b9ef68
1 changed files with 3 additions and 1 deletions
|
@ -49,11 +49,13 @@ (define-public appimage-type2-runtime
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue