* [bug#67068] [PATCH] gnu: odt2txt: fix cross-compilation.
@ 2023-11-11 10:10 Zheng Junjie
2023-11-25 13:36 ` bug#67068: " Mathieu Othacehe
0 siblings, 1 reply; 2+ messages in thread
From: Zheng Junjie @ 2023-11-11 10:10 UTC (permalink / raw)
To: 67068
* gnu/packages/textutils.scm (odt2txt): fix cross-compilation.
[arguments]: use Gexp and CC-FOR-TARGET.
Change-Id: I0a81e601813da0e4b2accaf835e3ea774b742df8
---
gnu/packages/textutils.scm | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 801d8fd8ad..ea182b1925 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1130,13 +1130,13 @@ (define-public odt2txt
"0im3kzvhxkjlx57w6h13mc9584c74ma1dyymgvpq2y61av3gc35v"))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f ; no make check
- #:make-flags (list "CC=gcc"
- (string-append "DESTDIR=" (assoc-ref %outputs "out")))
- #:phases
- (modify-phases %standard-phases
- ;; no configure script
- (delete 'configure))))
+ (list #:tests? #f ; no make check
+ #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "DESTDIR=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; no configure script
+ (delete 'configure))))
(inputs
(list zlib))
(home-page "https://github.com/dstosberg/odt2txt/")
base-commit: 61c527227ceebdad8da2d52214b253a48323cbb9
prerequisite-patch-id: 9528fcde2e87f38657ffead2353e813067c3f0f1
--
2.41.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#67068: [PATCH] gnu: odt2txt: fix cross-compilation.
2023-11-11 10:10 [bug#67068] [PATCH] gnu: odt2txt: fix cross-compilation Zheng Junjie
@ 2023-11-25 13:36 ` Mathieu Othacehe
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2023-11-25 13:36 UTC (permalink / raw)
To: Zheng Junjie; +Cc: 67068-done
> * gnu/packages/textutils.scm (odt2txt): fix cross-compilation.
Applied, thanks,
Mathieu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-25 13:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-11 10:10 [bug#67068] [PATCH] gnu: odt2txt: fix cross-compilation Zheng Junjie
2023-11-25 13:36 ` bug#67068: " Mathieu Othacehe
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.