busybox: build with -fwhole-program, build verbose

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-27 02:58:27 +01:00
parent 49d0277699
commit 88bc130d12

View File

@ -11,9 +11,7 @@ fi
# optimize for size
CFLAGS=`echo $CFLAGS | sed -e "s|-O?|-Os|"`
# Fails to compile using the gold linker.
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-ld=gold||"`
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-linker-plugin||"`
LDFLAGS="$LDFLAGS -fwhole-program"
cd $BUILD/busybox*
@ -25,4 +23,5 @@ cd $BUILD/busybox*
make ARCH=$TARGET_ARCH \
HOSTCC=$HOST_CC \
CROSS_COMPILE=$TARGET_PREFIX \
KBUILD_VERBOSE="1" \
install