HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d28692a
)
gnu: alpine: Support cross-gcc'ing.
author
Tobias Geerinckx-Rice
<me@tobias.gr>
Sun, 17 May 2020 00:51:04 +0000
(
02:51
+0200)
committer
Tobias Geerinckx-Rice
<me@tobias.gr>
Sun, 17 May 2020 00:52:56 +0000
(
02:52
+0200)
* gnu/packages/mail.scm (alpine)[arguments]: Use ${target}-gcc when
cross-compiling.
gnu/packages/mail.scm
patch
|
blob
|
blame
|
history
diff --git
a/gnu/packages/mail.scm
b/gnu/packages/mail.scm
index
6e39dc2
..
e6728aa
100644
(file)
--- a/
gnu/packages/mail.scm
+++ b/
gnu/packages/mail.scm
@@
-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")