[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48044] [PATCH v3] build/go: Support cross compiling.
From: |
Efraim Flashner |
Subject: |
[bug#48044] [PATCH v3] build/go: Support cross compiling. |
Date: |
Mon, 23 Aug 2021 12:26:29 +0300 |
New version of the patch. I moved the logic to figure out GOOS/GOARCH to
the host side and added keywords to pass the information along to the
build side.
With a properly configured go package and perhaps some additional
qemu-binfmt targets packages like this should work:
(use-modules (guix packages)
(gnu packages syncthing))
(package
(inherit syncthing)
(arguments
`(,@(package-arguments syncthing)
#:goos "plan9"
#:goarch "amd64")))
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
v4-0001-build-go-Support-cross-compiling.patch
Description: Text document
signature.asc
Description: PGP signature