mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 22:26:42 +00:00
busybox: fails to build with gcc-4.6's LTO support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
fdc9d28268
commit
b81afbcab4
@ -28,6 +28,9 @@ else
|
|||||||
BUSYBOX_CFG_FILE=$ROOT/$PKG_DIR/config/$1.conf
|
BUSYBOX_CFG_FILE=$ROOT/$PKG_DIR/config/$1.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# busybox fails building with LTO support on gcc-4.6
|
||||||
|
strip_lto
|
||||||
|
|
||||||
# optimize for size
|
# optimize for size
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-Os|"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-Os|"`
|
||||||
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-Os|"`
|
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-Os|"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user