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:24:03 +0300 |
commit | 760a210b747a93e7b6256509d1375575b9a1ec2f (patch) | |
tree | cf61836f3bac49bf40ac06f3d4ebebd0eefe706e /gnu | |
parent | 7da8a43396006965634931b7f04dbd6d65296db4 (diff) | |
download | guix-760a210b747a93e7b6256509d1375575b9a1ec2f.tar guix-760a210b747a93e7b6256509d1375575b9a1ec2f.tar.gz |
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.
Diffstat (limited to 'gnu')
-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 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) '())) |