mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: wireguard-tools: Cross-compile.
* gnu/packages/vpn.scm (wireguard-tools)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
f4ba46a2df
commit
598afe95c3
1 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@ (define-module (gnu packages vpn)
|
|||
#: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 @@ (define-public wireguard-tools
|
|||
(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).
|
||||
|
|
Loading…
Reference in a new issue