mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -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
|
||||
`(#: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 @@ (define-public mtdev
|
|||
'("config.guess" "config.sub"))))))
|
||||
'())))
|
||||
(native-inputs
|
||||
(if (and (target-riscv64?)
|
||||
(if (and (or (target-riscv64?)
|
||||
(target-aarch64?))
|
||||
(%current-target-system))
|
||||
(list config)
|
||||
'()))
|
||||
|
|
Loading…
Reference in a new issue