busybox: fails to build with gcc-4.6's LTO support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-10-31 09:52:47 +01:00
parent fdc9d28268
commit b81afbcab4

View File

@ -28,6 +28,9 @@ else
BUSYBOX_CFG_FILE=$ROOT/$PKG_DIR/config/$1.conf
fi
# busybox fails building with LTO support on gcc-4.6
strip_lto
# optimize for size
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-Os|"`
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-Os|"`