[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: gnu: smu: Fix cross-compilation.
From: |
guix-commits |
Subject: |
02/09: gnu: smu: Fix cross-compilation. |
Date: |
Sat, 25 Nov 2023 08:48:25 -0500 (EST) |
mothacehe pushed a commit to branch master
in repository guix.
commit 5edc8bec3022663d960820d34022764aed8284a2
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Sat Nov 11 19:30:53 2023 +0800
gnu: smu: Fix cross-compilation.
* gnu/packages/markup.scm (smu): Fix cross-compilation.
[arguments]: Use Gexp and CC-FOR-TARGET.
Change-Id: Ifb6a1962b12b31ed0092cb042670301a3ef4cfa8
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
gnu/packages/markup.scm | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm
index 595b08fa20..4a9a382104 100644
--- a/gnu/packages/markup.scm
+++ b/gnu/packages/markup.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; Copyright © 2022 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -428,13 +429,13 @@ additions.")))
(base32 "1jm7lhnzjx4q7gcwlkvsbffcy0zppywyh50d71ami6dnq182vvcc"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags (list "CC=gcc"
- (string-append "PREFIX="
- (assoc-ref %outputs "out")))
- #:tests? #f ; no tests included
- #:phases
- (modify-phases %standard-phases
- (delete 'configure))))
+ (list #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX=" #$output))
+ #:tests? #f ; no tests included
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure))))
(home-page "https://github.com/Gottox/smu")
(synopsis "Simple markup")
(description
- branch master updated (6bf19a63d8 -> 6e4914a037), guix-commits, 2023/11/25
- 03/09: gnu: xcompmgr: Fix cross-compilation., guix-commits, 2023/11/25
- 06/09: gnu: odt2txt: Fix cross-compilation., guix-commits, 2023/11/25
- 05/09: gnu: nkf: Fix cross-compilation., guix-commits, 2023/11/25
- 09/09: gnu: Add qtrvsim., guix-commits, 2023/11/25
- 01/09: gnu: kbdd: Fix cross-compilation., guix-commits, 2023/11/25
- 04/09: gnu: protobuf: Fix cross-compilation., guix-commits, 2023/11/25
- 08/09: gnu: zix: Update to 0.4.2., guix-commits, 2023/11/25
- 02/09: gnu: smu: Fix cross-compilation.,
guix-commits <=
- 07/09: gnu: daikichi: Fix cross-compilation., guix-commits, 2023/11/25