mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05: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:
parent
7da8a43396
commit
760a210b74
1 changed files with 4 additions and 2 deletions
|
@ -783,7 +783,8 @@ (define-public mtdev
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
'("--disable-static")
|
'("--disable-static")
|
||||||
,@(if (and (target-riscv64?)
|
,@(if (and (or (target-riscv64?)
|
||||||
|
(target-aarch64?))
|
||||||
(%current-target-system))
|
(%current-target-system))
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
@ -798,7 +799,8 @@ (define-public mtdev
|
||||||
'("config.guess" "config.sub"))))))
|
'("config.guess" "config.sub"))))))
|
||||||
'())))
|
'())))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(if (and (target-riscv64?)
|
(if (and (or (target-riscv64?)
|
||||||
|
(target-aarch64?))
|
||||||
(%current-target-system))
|
(%current-target-system))
|
||||||
(list config)
|
(list config)
|
||||||
'()))
|
'()))
|
||||||
|
|
Loading…
Reference in a new issue