mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
busybox-initramfs:
- dont use gold linker
This commit is contained in:
parent
2ef61bad7a
commit
d5aa3e4641
@ -5,6 +5,10 @@
|
|||||||
$SCRIPTS/build toolchain
|
$SCRIPTS/build toolchain
|
||||||
$SCRIPTS/unpack busybox
|
$SCRIPTS/unpack busybox
|
||||||
|
|
||||||
|
# busybox fails to compile using the gold linker
|
||||||
|
CFLAGS=`echo $CFLAGS | sed -e "s|-fuse-linker-plugin||" -e "s|-fuse-ld=gold||"`
|
||||||
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-linker-plugin||" -e "s|-fuse-ld=gold||"`
|
||||||
|
|
||||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||||
|
|
||||||
if [ -f $PROJECT_DIR/$PROJECT/busybox/$1.conf ]; then
|
if [ -f $PROJECT_DIR/$PROJECT/busybox/$1.conf ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user