guix-commits
[Top][All Lists]
Advanced

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

branch core-updates updated: gnu: mtdev: Fix cross-compiling to aarch64-


From: guix-commits
Subject: branch core-updates updated: gnu: mtdev: Fix cross-compiling to aarch64-linux.
Date: Sat, 21 Oct 2023 13:34:27 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new f4cbc7fc0d gnu: mtdev: Fix cross-compiling to aarch64-linux.
f4cbc7fc0d is described below

commit f4cbc7fc0d284b73cbf0d06974b79c030ee87077
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Fri Oct 20 15:58:37 2023 +0300

    gnu: mtdev: Fix cross-compiling to aarch64-linux.
    
    * gnu/packages/xdisorg.scm (mtdev)[arguments]: When cross-compiling to
    aarch64-linux update the config.{guess,sub} also.
    [native-inputs]: When cross-compiling to aarch64 add config.
---
 gnu/packages/xdisorg.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 0697cf83e5..c4606d1eb3 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -801,7 +801,8 @@ and Matrox.")
     (arguments
      `(#:configure-flags
        '("--disable-static")
-       ,@(if (and (target-riscv64?)
+       ,@(if (and (or (target-riscv64?)
+                      (target-aarch64?))
                   (%current-target-system))
            `(#:phases
              (modify-phases %standard-phases
@@ -816,7 +817,8 @@ and Matrox.")
                              '("config.guess" "config.sub"))))))
            '())))
     (native-inputs
-     (if (and (target-riscv64?)
+     (if (and (or (target-riscv64?)
+                  (target-aarch64?))
               (%current-target-system))
        (list config)
        '()))



reply via email to

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