mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: discount: Cross-compile.
* gnu/packages/markup.scm (discount)[arguments]: Use CC-FOR-TARGET.
This commit is contained in:
parent
6ad8fc65d4
commit
f41b56a92e
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@
|
|||
#: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 @@ convert it to structurally valid XHTML (or HTML).")
|
|||
#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