gnu: darkhttpd: Cross-compile.

* gnu/packages/web.scm (darkhttpd)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2021-10-26 02:01:53 +02:00
parent e598e46913
commit d579df680e
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -5803,7 +5803,8 @@ (define-public darkhttpd
(base32 "0w11xq160q9yyffv4mw9ncp1n0dl50d9plmwxb0yijaaxls9i4sk"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags '("CC=gcc")
`(#:make-flags
(list (string-append "CC=" ,(cc-for-target)))
#:tests? #f ; No test suite
#:phases
(modify-phases %standard-phases