all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#67073] [PATCH] gnu: smu: Fix cross-compilation.
@ 2023-11-11 11:30 Zheng Junjie
  2023-11-25 13:36 ` bug#67073: " Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: Zheng Junjie @ 2023-11-11 11:30 UTC (permalink / raw)
  To: 67073

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 1657 bytes --]

* gnu/packages/markup.scm (smu): Fix cross-compilation.
[arguments]: Use Gexp and CC-FOR-TARGET.

Change-Id: Ifb6a1962b12b31ed0092cb042670301a3ef4cfa8
---
 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 @@ (define-public smu
         (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

base-commit: af6105afc67a15a491a0a4fd18a28c9f801a0b94
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#67073: [PATCH] gnu: smu: Fix cross-compilation.
  2023-11-11 11:30 [bug#67073] [PATCH] gnu: smu: 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: 67073-done


> * gnu/packages/markup.scm (smu): Fix cross-compilation.

Applied, thanks,

Mathieu




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-25 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-11 11:30 [bug#67073] [PATCH] gnu: smu: Fix cross-compilation Zheng Junjie
2023-11-25 13:36 ` bug#67073: " 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.