me
/
guix
Archived
1
0
Fork 0

gnu: alpine: Support cross-gcc'ing.

* gnu/packages/mail.scm (alpine)[arguments]: Use ${target}-gcc when
cross-compiling.
master
Tobias Geerinckx-Rice 2020-05-17 02:51:04 +02:00
parent d28692a7b5
commit aa784dc850
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 5 additions and 1 deletions

View File

@ -2703,7 +2703,11 @@ operators and scripters.")
#t))))
(build-system gnu-build-system)
(arguments
`(#:make-flags (list "CC=gcc")
`(#:make-flags
(let ((target ,(%current-target-system)))
(list (string-append "CC=" (if target
(string-append target "-gcc")
"gcc"))))
#:configure-flags (list (string-append "--with-ssl-include-dir="
(assoc-ref %build-inputs "openssl")
"/include/openssl")