mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -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))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(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="
|
#:configure-flags (list (string-append "--with-ssl-include-dir="
|
||||||
(assoc-ref %build-inputs "openssl")
|
(assoc-ref %build-inputs "openssl")
|
||||||
"/include/openssl")
|
"/include/openssl")
|
||||||
|
|
Loading…
Reference in a new issue