gnu: ephemeralpg: Cross-compile.

* gnu/packages/databases.scm (ephemeralpg)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
Tobias Geerinckx-Rice 2020-11-08 19:48:49 +01:00
parent 33df476380
commit ddb418b514
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -248,7 +248,7 @@ (define-public ephemeralpg
(base32 "1ap22ki8yz6agd0qybcjgs4b9izw1rwwcgpxn3jah2ccfyax34s6"))))
(build-system gnu-build-system)
(arguments
'(#:make-flags (list "CC=gcc"
`(#:make-flags (list (string-append "CC=" ,(cc-for-target))
(string-append "PREFIX=" %output))
#:phases
(modify-phases %standard-phases