mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: alpine: Support cross-gcc'ing.
* gnu/packages/mail.scm (alpine)[arguments]: Use ${target}-gcc when cross-compiling.
This commit is contained in:
parent
d28692a7b5
commit
aa784dc850
1 changed files with 5 additions and 1 deletions
|
@ -2703,7 +2703,11 @@ (define-public alpine
|
|||
#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")
|
||||
|
|
Loading…
Reference in a new issue