mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-03-03 21:47:06 +00:00
crust: use host-gcc from toolchain not cc
crust build fails when cc link is missing (e.g. minimal Ubuntu 20.04) use host-gcc from the toolchain instead. addition of the patch fixes the following error. BUILD crust (target) TOOLCHAIN manual ... HOSTCC build/3rdparty/kconfig/conf.o /bin/sh: 1: exec: cc: not found make[1]: *** [Makefile:170: build/3rdparty/kconfig/conf.o] Error 127 ...
This commit is contained in:
parent
e698eec463
commit
91162691d4
11
packages/tools/crust/patches/fix-cc.patch
Normal file
11
packages/tools/crust/patches/fix-cc.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- a/Makefile 2021-11-04 02:18:49.000000000 +0000
|
||||
+++ b/Makefile 2021-12-07 11:30:53.188269898 +0000
|
||||
@@ -8,7 +8,7 @@
|
||||
TGT = $(OBJ)/scp
|
||||
|
||||
BUILDAR = ar
|
||||
-BUILDCC = cc
|
||||
+BUILDCC = host-gcc
|
||||
|
||||
HOST_COMPILE ?= aarch64-linux-musl-
|
||||
HOSTAR = $(HOST_COMPILE)gcc-ar
|
Loading…
x
Reference in New Issue
Block a user