From 9923100a42ffa80f604c1c13a5e999e6a4c15146 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 23 Dec 2022 09:42:27 +0200 Subject: 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. --- gnu/packages/firmware.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index 54b19dd5fa..1b4fd61241 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -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 -- cgit v1.2.3