1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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

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