guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: mtdev: Fix cross-compiling to aarch64-linux.


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

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

efraim pushed a commit to branch master
in repository guix.

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

commit 760a210b747a93e7b6256509d1375575b9a1ec2f
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 6f37784ddc..553b733a6b 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -783,7 +783,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
@@ -798,7 +799,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]