diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-05-17 02:51:04 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-05-17 02:52:56 +0200 |
commit | aa784dc850fd683ade4dee7f2e2ad630e604b432 (patch) | |
tree | 09717d5194c03601b6ef4fd7df02e8ee9496c64d /gnu | |
parent | d28692a7b512d1d0a2e6b48aa83095f373969abd (diff) |
gnu: alpine: Support cross-gcc'ing.
* gnu/packages/mail.scm (alpine)[arguments]: Use ${target}-gcc when
cross-compiling.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/mail.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 6e39dc2d15..e6728aae94 100644 --- 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") |