me
/
guix
Archived
1
0
Fork 0

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>
master
Zheng Junjie 2023-11-11 19:30:53 +08:00 committed by Mathieu Othacehe
parent 06c1301aa2
commit 5edc8bec30
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 8 additions and 7 deletions

View File

@ -11,6 +11,7 @@
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com> ;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2022 jgart <jgart@dismail.de> ;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; Copyright © 2022 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -428,12 +429,12 @@ additions.")))
(base32 "1jm7lhnzjx4q7gcwlkvsbffcy0zppywyh50d71ami6dnq182vvcc")))) (base32 "1jm7lhnzjx4q7gcwlkvsbffcy0zppywyh50d71ami6dnq182vvcc"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:make-flags (list "CC=gcc" (list #:make-flags
(string-append "PREFIX=" #~(list (string-append "CC=" #$(cc-for-target))
(assoc-ref %outputs "out"))) (string-append "PREFIX=" #$output))
#:tests? #f ; no tests included #:tests? #f ; no tests included
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'configure)))) (delete 'configure))))
(home-page "https://github.com/Gottox/smu") (home-page "https://github.com/Gottox/smu")
(synopsis "Simple markup") (synopsis "Simple markup")