mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 09:02:59 -05:00
gnu: whois: Fix cross compiling.
* gnu/packages/networking.scm (whois)[arguments]: Use cc-for-target and pkg-config-for-target.
This commit is contained in:
parent
3d395e3d83
commit
f6c106b46d
1 changed files with 2 additions and 1 deletions
|
@ -1317,7 +1317,8 @@ (define-public whois
|
|||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; no test suite
|
||||
#:make-flags (list "CC=gcc"
|
||||
#:make-flags (list (string-append "CC=" ,(cc-for-target))
|
||||
(string-append "PKG_CONFIG=" ,(pkg-config-for-target))
|
||||
(string-append "prefix=" (assoc-ref %outputs "out")))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
|
|
Loading…
Reference in a new issue