guix-commits
[Top][All Lists]
Advanced

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

04/06: gnu: xe: Fix cross-compilation.


From: guix-commits
Subject: 04/06: gnu: xe: Fix cross-compilation.
Date: Mon, 25 Mar 2024 16:59:04 -0400 (EDT)

cbaines pushed a commit to branch master
in repository guix.

commit 46000846de292c25453b7afbb129c1931c118b8d
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Sat Mar 23 20:46:28 2024 +0800

    gnu: xe: Fix cross-compilation.
    
    * gnu/packages/parallel.scm (xe): Fix cross-compilation.
    [arguments]: Use Gexp.
    
    Change-Id: I937acbba1cb5ba0f04976121f06d01789caed456
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/parallel.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm
index ddf4ad016b..b2a5648842 100644
--- a/gnu/packages/parallel.scm
+++ b/gnu/packages/parallel.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2019-2023 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2020 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2021 Stefan Reichör <stefan@xsteve.at>
+;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -143,11 +144,11 @@ and they are executed on lists of files, hosts, users or 
other items.")
         (base32 "1ijvf7q5pxk4rlj7p9q6fmpdqiwmc28gffkk6yg390k1a1z3msf9"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f
-       #:make-flags (list (string-append "CC=" ,(cc-for-target))
-                          (string-append "PREFIX=" %output))
-       #:phases (modify-phases %standard-phases
-                  (delete 'configure))))
+     (list #:tests? #f
+           #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
+                                (string-append "PREFIX=" #$output))
+           #:phases #~(modify-phases %standard-phases
+                        (delete 'configure))))
     (synopsis "Execute a command for every argument")
     (description
      "The xe utility constructs command lines from specified arguments,



reply via email to

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