diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-20 15:58:37 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-21 20:25:19 +0300 |
commit | f4cbc7fc0d284b73cbf0d06974b79c030ee87077 (patch) | |
tree | 9192f604acd0df709d50a293373f248839a3439c | |
parent | 90b7c33dbf915cbff4a456ba994398525f1c1919 (diff) |
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.
-rw-r--r-- | gnu/packages/xdisorg.scm | 6 |
1 files 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) '())) |