diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-12-23 09:42:27 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-12-23 13:56:11 +0200 |
commit | 9923100a42ffa80f604c1c13a5e999e6a4c15146 (patch) | |
tree | 7f6e213ddb8059b5064d0e3dfb0a1e901419ec4b | |
parent | 66188398c446bdf9ce044fa539536e9b54c28c60 (diff) |
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.
-rw-r--r-- | gnu/packages/firmware.scm | 4 |
1 files changed, 3 insertions, 1 deletions
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 |