mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: sgabios: Fix build on cross-build architectures.
* gnu/packages/firmware.scm (sgabios)[arguments]: When cross-building add a make-flag to use the correct objcopy.
This commit is contained in:
parent
66188398c4
commit
9923100a42
1 changed files with 3 additions and 1 deletions
|
@ -589,7 +589,9 @@ (define-public sgabios
|
|||
(list #:make-flags
|
||||
#~'(#$@(if (member (%current-system) '("i686-linux" "x86_64-linux"))
|
||||
#~("CC=gcc")
|
||||
#~("CC=i686-linux-gnu-gcc" "LD=i686-linux-gnu-ld"))
|
||||
#~("CC=i686-linux-gnu-gcc"
|
||||
"LD=i686-linux-gnu-ld"
|
||||
"OBJCOPY=i686-linux-gnu-objcopy"))
|
||||
"HOSTCC=gcc")
|
||||
#:parallel-build? #f
|
||||
#:tests? #f ;no tests
|
||||
|
|
Loading…
Reference in a new issue