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.
This commit is contained in:
Efraim Flashner 2023-10-20 15:58:37 +03:00
parent 7da8a43396
commit 760a210b74
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 2 deletions

View File

@ -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)
'()))