1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-27 11:32:21 +02:00

gnu: wireguard-tools: Cross-compile.

* gnu/packages/vpn.scm (wireguard-tools)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice
2020-08-24 02:26:03 +02:00
parent f4ba46a2df
commit 598afe95c3
+2 -1
View File
@@ -39,6 +39,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system linux-module)
#:use-module (guix build-system python)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages admin)
#:use-module (gnu packages base)
@@ -568,7 +569,7 @@ WireGuard was added to Linux 5.6.")
(build-system gnu-build-system)
(arguments
`(#:make-flags
(list "CC=gcc"
(list ,(string-append "CC=" (cc-for-target))
"--directory=src"
"WITH_BASHCOMPLETION=yes"
;; Install the simple and dirty helper script wg-quick(8).