diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-08-13 02:29:57 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-08-13 16:09:41 +0200 |
commit | 3a176be045c262047892806e3db6335b43d49c1d (patch) | |
tree | 0f20365a552ae625e350f803b3dc07d78ba7f882 /gnu/packages | |
parent | 7d98468cecdf026182c30ced63a44bbbfb361847 (diff) | |
download | guix-patches-3a176be045c262047892806e3db6335b43d49c1d.tar guix-patches-3a176be045c262047892806e3db6335b43d49c1d.tar.gz |
gnu: aha: Cross-compile.
* gnu/packages/textutils.scm (aha)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/textutils.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index c5798cf5c1..6ee3442c76 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -46,6 +46,7 @@ #:use-module (guix build-system go) #:use-module (guix build-system cmake) #:use-module (guix build-system python) + #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages base) @@ -1160,10 +1161,10 @@ This package provides Python bindings.") (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments - '(#:phases + `(#:phases (modify-phases %standard-phases (delete 'configure)) - #:make-flags (list "CC=gcc" + #:make-flags (list (string-append "CC=" ,(cc-for-target)) (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:tests? #f)) ; no test suite |