mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: maradns: Use CC-FOR-TARGET.
* gnu/packages/dns.scm (maradns)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
0ac915008a
commit
de53ddb54a
1 changed files with 1 additions and 5 deletions
|
@ -966,11 +966,7 @@ (define-public maradns
|
||||||
`(#:tests? #f ; need to be root to run tests
|
`(#:tests? #f ; need to be root to run tests
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list
|
(list
|
||||||
(string-append "CC="
|
,(string-append "CC=" (cc-for-target))
|
||||||
(if ,(%current-target-system)
|
|
||||||
(string-append (assoc-ref %build-inputs "cross-gcc")
|
|
||||||
"/bin/" ,(%current-target-system) "-gcc")
|
|
||||||
"gcc"))
|
|
||||||
(string-append "PREFIX=" %output)
|
(string-append "PREFIX=" %output)
|
||||||
(string-append "RPM_BUILD_ROOT=" %output))
|
(string-append "RPM_BUILD_ROOT=" %output))
|
||||||
#:phases
|
#:phases
|
||||||
|
|
Loading…
Reference in a new issue