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.
parent
66188398c4
commit
9923100a42
|
@ -589,7 +589,9 @@ coreboot.")
|
|||
(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
|
||||
|
|
Reference in New Issue