glib: enable LTO support, build issue seems fixed with gcc-4.7.1

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-06-17 13:56:19 +02:00
parent 39dd3f8919
commit 2b0ca40995

View File

@ -26,10 +26,6 @@ if [ "$ICONV" = "libiconv" ]; then
CONFIG_GLIB="--with-libiconv"
fi
# Fails to compile with GCC link time optimization, outputing the error:
# "mem-overflow.c:137:1: sorry, unimplemented: gimple bytecode streams do not support the optimization attribute".
strip_lto
cd $PKG_BUILD
mkdir -p .build-target && cd .build-target