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:
Efraim Flashner 2022-12-23 09:42:27 +02:00
parent 66188398c4
commit 9923100a42
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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