gnu: maradns: Use CC-FOR-TARGET.

* gnu/packages/dns.scm (maradns)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2020-07-11 14:40:03 +02:00
parent 0ac915008a
commit de53ddb54a
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -966,11 +966,7 @@ (define-public maradns
`(#:tests? #f ; need to be root to run tests
#:make-flags
(list
(string-append "CC="
(if ,(%current-target-system)
(string-append (assoc-ref %build-inputs "cross-gcc")
"/bin/" ,(%current-target-system) "-gcc")
"gcc"))
,(string-append "CC=" (cc-for-target))
(string-append "PREFIX=" %output)
(string-append "RPM_BUILD_ROOT=" %output))
#:phases