gnu: discount: Cross-compile.
* gnu/packages/markup.scm (discount)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
6ad8fc65d4
commit
f41b56a92e
|
@ -30,6 +30,7 @@ (define-module (gnu packages markup)
|
|||
#:use-module (guix build-system trivial)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module (guix build-system perl)
|
||||
#:use-module (guix utils)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages perl)
|
||||
|
@ -138,7 +139,7 @@ (define-public discount
|
|||
#t))
|
||||
(replace 'configure
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(setenv "CC" "gcc")
|
||||
(setenv "CC" ,(cc-for-target))
|
||||
(invoke "./configure.sh"
|
||||
(string-append "--prefix=" (assoc-ref outputs "out"))
|
||||
"--shared"))))))
|
||||
|
|
Loading…
Reference in a new issue