busybox-initramfs: dont build with LTO support, forcing optimizing for size if using -Ofast

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-07-11 12:19:55 +02:00
parent e9995dcc04
commit fe52082151

View File

@ -31,7 +31,11 @@ else
fi fi
# optimize for size # optimize for size
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-Os|"` # CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-Os|"`
# CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-Os|"`
# fails to build with gcc-4.6.1
strip_lto
LDFLAGS="$LDFLAGS -fwhole-program" LDFLAGS="$LDFLAGS -fwhole-program"