emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67073: closed ([PATCH] gnu: smu: Fix cross-compilation.)


From: GNU bug Tracking System
Subject: bug#67073: closed ([PATCH] gnu: smu: Fix cross-compilation.)
Date: Sat, 25 Nov 2023 13:37:02 +0000

Your message dated Sat, 25 Nov 2023 14:36:17 +0100
with message-id <875y1quf8u.fsf@gnu.org>
and subject line Re: [bug#67073] [PATCH] gnu: smu: Fix cross-compilation.
has caused the debbugs.gnu.org bug report #67073,
regarding [PATCH] gnu: smu: Fix cross-compilation.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
67073: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67073
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: smu: Fix cross-compilation. Date: Sat, 11 Nov 2023 19:30:53 +0800
* 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#67073] [PATCH] gnu: smu: Fix cross-compilation. Date: Sat, 25 Nov 2023 14:36:17 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
> * gnu/packages/markup.scm (smu): Fix cross-compilation.

Applied, thanks,

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]