me
/
guix
Archived
1
0
Fork 0

gnu: maradns: Use CC-FOR-TARGET.

* gnu/packages/dns.scm (maradns)[arguments]: Use CC-FOR-TARGET.
master
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
1 changed files with 1 additions and 5 deletions

View File

@ -966,11 +966,7 @@ known public suffixes.")
`(#: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